Part Number Hot Search : 
L4812 CMI8786 CLM4122 MBRS130L SF200 AA3020YC SMAJ4737 110CA
Product Description
Full Text Search
 

To Download ADV7160 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. a 96-bit, 220 mhz true-color video ram-dac ADV7160/adv7162 ? analog devices, inc., 1995 one technology way, p.o. box 9106, norwood. ma 02062-9106, u.s.a. tel: 617/329-4700 fax: 617/326-8703 modes of operation 1600 1200 30/24-bit resolution @ 85 hz screen refresh 1600 1200 16/15-bit resolution @ 85 hz screen re fresh 1600 1200 8-bit resolution @ 85 hz screen refresh applications windows accelerators high resolution, true color graphics professional color prepress imaging digital tv (hdtv, digital video) speed grades @ 220 mhz @ 170 mhz @ 140 mhz general description the ADV7160/adv7162? is a 96-bit pixel port video ram- dac with color enhanced triple 10-bit dacs. the device also includes a pll and 64 64 hardware cursor. the ADV7160/ adv7162 is specifically designed for use in the graphics sub- system of high performance, color graphics workstations and windows accelerators. (continued on page 15) features 96-bit pixel port for 1600 1280 24 screen resolution 220 mhz, 24-bit (30-bit gamma corrected) true-color triple 10-bit gamma correcting d/a converters 2% (max) dac to dac color matching triple 256 10 (256 x 30) color palette ram on-board user definable cursor (64 64 2) three color overlay cursor palette ram fully programmable on-board pll rs-343a/rs-170 compatible rgb analog outputs tri-level sync functionality ttl compatible digital inputs standard mpu i/o interface programmable pixel port: 24-bit, 16-bit, 15-bit & 8-bit (pseudo) pixel data serializer: multiplexed pixel input ports; 2:1, 4:1, 8:1 +5 v cmos monolithic construction 160-lead plastic quad flatpack (qfp): adv7162 160-lead thermally enhanced qfp (pquad): ADV7160 functional block diagram adv is a registered trademark of analog devices, inc. p i x e l i n p u t m u l t i p l e x e r jtag test access port tdo mpu port 10 (8+2) data to palettes 30 control registers pixel mask register command registers (cr1-cr5) gnd tdi tck tms c1 d9?0 c0 pixel data (p7-p0) odd/ even loadin sckin loadout comp clock control 3 x 256 color palette 3 color overlay palette iog iob ecl to cmos pll pll ref clock a palette selects (ps0, ps1) syncout ior clock prgckout sckout selector address register (a10-a0) trisync sync blank b c d s e l e c t o r ce r/ w green register blue register red register ADV7160/ adv7162 2 color cursor palette mode register (mr1) 10 10 10 2 2 10 bypass color mode matrix 10 10 10 8 8 8 8 8 8 pixel mask color mode matrix 10 10 10 red 256 x 10 green 256 x 10 blue 256 x 10 red 3 x 10 green 3 x 10 blue 3 x 10 24 24 24 24 8 8 8 8 ps function decode logic 2 10 10 10 red 3 x 10 green 3 x 10 blue 3 x 10 64 x 64 cursor generator 10 10 10 green dac blue dac red dac blank and sync logic v ref r set 10 10 clock divide & synchronization circuitry ? 32, ? 16, ? 8, ? 4 voltage reference circuit revision register pll registers cursor registers test registers id register status register v aa
ADV7160/adv7162Cspecifications rev. 0 C2C parameter min typ max units test conditions/comments static performance (dac gain setting = 3996) resolution (each dac) 10 bits accuracy (each dac) integral nonlinearity 1 lsb differential nonlinearity 1 lsb guaranteed monotonic gray scale error 5 % gray scale coding binary digital inputs input high voltage, v inh 2v input low voltage, v inl 0.8 v input current, i in 10 m av in = 0.4 v or 2.4 v input capacitance, c in 10 pf clock inputs (clock, clock ) input high voltage, v inh v aa C 1.0 v input low voltage, v inl v aa C 1.6 v input current, i in 10 m av in = 0.4 v or 2.4 v input current, i in (jtag inputs) 50 m av in = 0.4 v or 2.4 v input capacitance, c in 10 pf digital outputs output high voltage, v oh 2.4 v i source = 400 m a output low voltage, v ol 0.4 v i sink = 3.2 ma floating-state leakage current 20 m a floating-state output capacitance 20 pf analog outputs (dac gain setting = 3996) gray scale current range 15 22 ma output current white level relative to blank 17.69 19.05 20.40 ma white level relative to black 16.74 17.62 18.50 ma black level relative to blank 0.95 1.44 1.90 ma blank level 0 5 50 m a sync disabled blank level 6.29 7.62 8.96 ma sync enabled sync level 0 5 50 m a tri-sync level relative to blank 6.29 7.62 8.96 ma lsb size 17.22 m a dac to dac matching 1 3 % output compliance, v oc 0 +1.4 v output impedance, r out 30 k w output capacitance, c out 30 pf i out = 0 ma voltage reference voltage reference range, v ref 1.14 1.235 1.26 v v ref = 1.235 v for specified performance input current, i vref 5 m a power requirements v aa 5v i aa 3 475 ma for 220 mhz operation (ADV7160) 440 ma for 170 mhz operation (ADV7160) 410 ma for 140 mhz operation (ADV7160) i aa 3 450 ma for 220 mhz operation (adv7162) 400 ma for 170 mhz operation (adv7162) 360 ma for 140 mhz operation (adv7162) power supply rejection ratio 0.1 %/% comp = 0.1 m f dynamic performance clock and data feedthrough 4, 5 C30 db glitch impulse 50 pv secs dac to dac crosstalk 6 C23 db notes 1 5% for all versions. 2 temperature range (t min to t max ): 0 c to +70 c. 3 pixel port is continuously clocked with data corresponding to a linear ramp. t j = 100 o c. 4 clock and data feedthrough is a function of the amount of overshoot and undershoot on the digital inputs. glitch impulse includes clock and data feedthrough. 5 ttl input values are 0 v to 3 v, with input rise/fall times 3 ns, measured the 10% and 90% points. timing reference points at 50% for inputs and outputs. 6 dac to dac crosstalk is measured by holding one dac high while the other two are making low to high and high to low transitions. specifications subject to change without notice. (v aa 1 = +5 v; v ref = +1.235 v; r set = 280 w . ior, iog, iob (r l = 37.5 w , c l = 10 pf). all specifications t min to t max 2 unless otherwise noted.)
ADV7160/adv7162 rev. 0 C3C clock control and pixel port 4 parameter 220 mhz 170 mhz 140 mhz units conditions/comments version version version f clock 220 170 140 mhz max pixel clock rate t 1 4.5 5.88 7.14 ns min pixel clock cycle time t 2 2.0 2.5 2.86 ns min pixel clock high time t 3 2.0 2.5 2.86 ns min pixel clock low time t 4 10 10 10 ns max pixel clock to loadout delay f loadin loadin clocking rate 2:1 multiplexing 110 85 70 mhz max 4:1 multiplexing 55 42.5 35 mhz max 8:1 multiplexing 27.5 21.25 17.5 mhz max t 5 loadin cycle time 2:1 multiplexing 9.1 11.77 14.29 ns min 4:1 multiplexing 18.18 23.53 28.58 ns min 8:1 multiplexing 36.36 47.1 57.16 ns min t 6 loadin high time 2:1 multiplexing 4 5 6 ns min 4:1 multiplexing 8 9 12 ns min 8:1 multiplexing 15 18 23 ns min t 7 loadin low time 2:1 multiplexing 4 5 6 ns min 4:1 multiplexing 8 9 12 ns min 8:1 multiplexing 15 18 23 ns min t 8 0 0 0 ns min pixel data setup time t 9 5 5 5 ns min pixel data hold time t 10 0 0 0 ns min loadout to loadin delay t -t 11 5 t -5 t -5 t -5 ns max loadout to loadin delay t pd 6 pipeline delay 2:1 multiplexing 9 9 9 clocks (1 clock = t 1 ) 4:1 multiplexing 11 11 11 clocks 8:1 multiplexing 15 15 15 clocks t 12 10 10 10 ns max pixel clock to prgckout delay t 13 5 5 5 ns max sckin to sckout delay t 14 5 5 5 ns min blank to sckin setup time t 15 0 0 0 ns min blank to sckin hold time analog outputs 7 parameter 220 mhz 170 mhz 140 mhz units conditions/comments version version version t 16 25 25 25 ns typ analog output delay t 17 1 1 1 ns typ analog output rise/fall time t 18 25 25 25 ns typ analog output transition time t sk 2 2 2 ns max rgb analog output skew 0 0 0 ns typ timing characteristics 1 (v aa 2 = +5 v; v ref = +1.235 v; r set = 280 w . ior, iog, iob (r l = 37.5 w , c l = 10 pf). all specifications t min to t max 3 unless otherwise noted.)
rev. 0 C4C ADV7160/adv7162 mpu p ort 8,9 parameter 220 mhz 170 mhz 140 mhz units conditions/comments version version version t 19 0 0 0 ns min r / w , c0, c1 to ce setup time t 20 10 10 10 ns min r / w , c0, c1 to ce hold time t 21 45 45 45 ns min ce low time t 22 25 25 25 ns min ce high time t 23 8 5 5 5 ns min ce asserted to data-bus driven t 24 9 45 45 45 ns max ce asserted to data valid t 25 9 20 20 20 ns max ce disabled to data-bus three-stated t 26 9 5 5 5 ns min ce disabled to data invalid t 27 20 20 20 ns min write data (d0Cd9) setup time t 28 5 5 5 ns min write data (d0Cd9) hold time notes general notes 1 ttl input values are 0 to 3 volts, with input rise/fall times 3 ns, measured between the 10% and 90% points. ecl inputs (clock, clock ) are v aa C0.8 v to v aa C1.8 v, with input rise/fall times 2 ns, measured between the 10% and 90% points. timing reference points at 50% for inputs and outputs. analog output load 10 pf. data-bus (d0Cd9) loaded as shown in figure 1. digital output load for loadout, prgckout & sckout 30 pf. 2 5% for all versions 3 temperature range (t min to t max ); 0 c to +70 c. notes on pixel port 4 pixel port consists of the following inputs: pixel inputs: red [a, b, c, d] green [a, b, c, d] blue [a, b, c, d] palette selects: ps0 [a, b, c, d]; ps1[a, b, c, d] pixel controls: sync , blank , trisync , odd/ even clock inputs: clock, clock , loadin, sckin clock outputs: loadout, prgckout, sckout 5 t is the loadout cycle time and is a function of the pixel clock rate and the multiplexing mode: 2:1 multiplexing; t = clock 2= 2 t 1 ns 4:1 multiplexing; t = clock 4= 4 t 1 ns 8:1 multiplexing; t = clock 8= 8 t 1 ns 6 these fixed values for pipeline delay are valid under conditions where t 10 and t -t 11 are met. if either t 10 or t -t 11 are not met, the part will operate but the pipeline delay is increased. notes on analog outputs 7 output delay measured from the 50% point of the rising edge of clock to the 50% point of full-scale transition. output rise/fall time measured between the 10% and 90% points of full-scale transition. transition time measured from the 50% point of full scale transition to the output remaining within 2% of the final output value. (transition time does not include clock and data feedthrough). notes on mpu port 8 t 23 and t 24 are measured with the load circuit of figure 1 and defined as the time required for an output to cross 0.4 v or 2.4 v. 9 t 25 and t 26 are derived from the measured time taken by the data outputs to change by 0.5 v when loaded with the circuit of figure 1. the measured numbers are then extrapolated back to remove the effects of charging the 100 pf capacitor. this means that the times t 25 and t 26 , quoted in the timing characteristics are the true values for the device and as such are independent of external loading capacitances. specifications subject to change without notice. 100pf to output pin i source i sink +2.1v figure 1. load circuit for databus access and relinquish times
ADV7160/adv7162 rev. 0 C5C jtag p ort parameter all versions units conditions/comments pll performance 4 jitter 250 ps rms 1 s pll reference input pll ref frequency 900 khz min 40 mhz max v ih 2.0 v max v il 0.8 v min pll ref period 25 ns min 1.67 m s max pll ref duty cycle 40 % min 60 % max jtag performance tck frequency, t 29 20 mhz max tck high time, t 30 15 ns min tck low time, t 31 15 ns min tdi, tms setup time, t 32 15 ns max tdi, tms hold time, t 33 15 ns max digital input to tck setup time, t 34 15 ns max digital input to tck hold time, t 35 15 ns max tclk to tdo drive, t 36 0 ns min tclk to tdo valid, t 37 20 ns min tclk to tdo three-state, t 38 5 ns min 15 ns max notes 1 ttl input values are 0 to 3 vo lts, with input rise/fall times 3 ns, measured between the 10% and 90% p oints. timing reference points at 50% for inputs and outputs. 2 5% for all versions. 3 temperature range (t min to t max ); 0 c to +70 c. 4 jitter is measured by triggering on the output clock, delayed by 15 m s and then measuring the time period from the trigger edge to the next edge of the output clock after the delay. this measurement is repeated multiple times and the rms value is determined. specifications subject to change without notice. t 38 t 36 t 37 t 35 t 34 t 33 t 30 t 32 t 29 t 31 tck tms, tdi digital input tdo tdo figure 2. jtag timing timing characteristics (cont.) 1 (v aa 2 = +5 v; v ref = +1.235 v; r set = 280 w . ior, iog, iob (r l = 37.5 w , c l =10 pf). all specifications t min to t max 3 unless otherwise noted.)
rev. 0 C6C ADV7160/adv7162 timing waveforms clock clock loadout (2:1 multiplexing) loadout (4:1 multiplexing) loadout (8:1 multiplexing) t 4 t 2 t 3 t 1 figure 3. loadout vs. pixel clock input (clock, clock ) t 5 t 6 t 7 t 8 t 9 valid data valid data valid data loadin pixel input data figure 4. loadin vs. pixel input data
ADV7160/adv7162 rev. 0 C7C t 10 a n ... h n a n+1 ... h n+1 a n+2 ... h n+2 digital input to analog output pipeline a n+2 ... h n+2 a n+1 ... h n+1 a n ... h n a n? ... h n? t pd clock loadout loadin pixel input data analog output data (ior, iog, iob, syncout ) figure 5. pixel input to analog output pipeline with minimum loadout to loadin delay (8:1 multiplex mode) a n ... h n a n+1 ... h n+1 a n+2 ... h n+2 digital input to analog output pipeline a n+2 ... h n+2 a n+1 ... h n+1 a n ... h n a n? ... h n? t pd clock loadout loadin pixel input data analog output data (ior, iog, iob, syncout ) t t - t 11 figure 6. pixel input to analog output pipeline with maximum loadout to loadin delay (8:1 multiplex mode)
rev. 0 C8C ADV7160/adv7162 t 10 a n ... d n a n+1 ... d n+1 a n+2 ... d n+2 digital input to analog output pipeline a n+2 ... d n+2 a n+1 ... d n+1 a n ... d n a n? ... d n? t pd clock loadout loadin pixel input data analog output data (ior, iog, iob, syncout ) figure 7. pixel input to analog output pipeline with minimum loadout to loadin delay (4:1 multiplex mode) a n ... d n a n+1 ... d n+1 a n+2 ... d n+2 digital input to analog output pipeline a n+2 ... d n+2 a n+1 ... d n+1 a n ... d n a n? ... d n? t pd clock loadout loadin pixel input data t t - t 11 analog output data (ior, iog, iob, syncout ) figure 8. pixel input to analog output pipeline with maximum loadout to loadin delay (4:1 multiplex mode)
ADV7160/adv7162 rev. 0 C9C t 10 a n ... b n a n+1 ... b n+1 a n+2 ... b n+2 t pd clock loadout loadin pixel input data digital input to analog output pipeline a n? b n? a n b n a n+1 b n+1 a n+2 b n+2 analog output data (ior, iog, iob, syncout ) figure 9. pixel input to analog output pipeline with minimum loadout to loadin delay (2:1 multiplex mode) a n ... b n a n+1 ... b n+1 a n+2 ... b n+2 t pd clock loadout loadin pixel input data digital input to analog output pipeline a n? b n? a n b n a n+1 b n+1 a n+2 b n+2 t -t 10 t analog output data (ior, iog, iob, syncout ) figure 10. pixel input to analog output pipeline with maximum loadout to loadin delay (2:1 multiplex mode)
rev. 0 C10C ADV7160/adv7162 clock t 12 prgckout (clock/4) prgckout (clock/8) prgckout (clock/16) prgckout (clock/32) figure 11. pixel clock input vs. programmable clock output (prgckout) t 13 t 15 t 14 sckin blank sckout blanking period end of scan line (n) start of scan line (n+1) figure 12. video data shift clock input (sckin) & blank vs. video data shift clock output (sckout) t 17 t 18 ior iog iob syncout analog outputs clock note: this diagram is not to scale. for the purposes of clarity, the analog output waveform is magnified in time and ampllitude w.r.t the clock waveform. syncout is a digital video output signal. t 16 is the only relevant timing specification for syncout. white level black level full scale transition 90% 50% 10% t 16 figure 13. analog output response vs. clock
ADV7160/adv7162 rev. 0 C11C valid control data t 27 t 28 t 26 t 25 r/ w = 1 r/ w = 0 r/ w , c0, c1 ce d0?9 (read mode) d0?9 (write mode) t 21 t 24 t 23 t 22 t 20 t 19 figure 14. microprocessor port (mpu) interface timing absolute maximum ratings 1 v aa to gnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 v voltage on any digital pin . . . . . gnd C 0.5 v to v aa + 0.5 v ambient operating temperature (t a ) . . . . . . . . 0 c to +70 c storage temperature (t s ) . . . . . . . . . . . . . . . C65 c to +150 c junction temperature (t j ) . . . . . . . . . . . . . . . . . . . . . +150 c lead temperature (soldering, 10 secs) . . . . . . . . . . . . +260 c vapor phase soldering (1 minute) . . . . . . . . . . . . . . . . +220 c analog outputs to gnd 2 . . . . . . . . . . . . gnd C 0.5 v to v aa notes 1 stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 analog output short circuit to any power supply or common can be of an indefinite duration. 160-lead qfp configuration pin no. 1 identifier row a row c row d row b 80 41 121 160 120 81 1 40 ADV7160/adv7162 qfp top view (not to scale) warning! esd sensitive device caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the ADV7160/adv7162 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. ordering information 1, 2, 3 dot clock speed 220 mhz 170 mhz 140 mhz ADV7160ks220 3 ADV7160ks170 3 ADV7160ks140 3 adv7162ks220 4 adv7162ks170 4 adv7162ks140 4 notes 1 all devices are specified for 0 c to +70 c operation. 2 contact sales office for latest information on package design. 3 ADV7160 is packaged in a 160-pin plastic power quad flatpack, qfp with heatsink embedded. 4 adv7162 is packaged in a standard 160-pin plastic quad flatpack, qfp.
rev. 0 C12C ADV7160/adv7162 ADV7160/adv7162 pin assignments pin no. mnemonic pin no. mnemonic pin no. mnemonic pin no. mnemonic 1g2 a 41 clock 81 d9 121 r1 c 2g2 b 42 sckin 82 d8 122 r1 d 3g2 c 43 sckout 83 d7 123 r2 a 4g2 d 44 v aa 84 d6 124 r2 b 5g3 a 45 prgckout 85 d5 125 r2 c 6g3 b 46 gnd 86 d4 126 r2 d 7g3 c 47 loadout 87 d3 127 r3 a 8g3 d 48 loadin 88 d2 128 r3 b 9g4 a 49 b0 a 89 d1 129 r3 c 10 g4 b 50 b0 b 90 d0 130 r3 d 11 g4 c 51 b0 c 91 c1 131 r4 a 12 g4 d 52 b0 d 92 c0 132 v aa 13 g5 a 53 b1 a 93 r / w 133 v aa 14 g5 b 54 b1 b 94 ce 134 gnd 15 g5 c 55 b1 c 95 tck 135 gnd 16 g5 d 56 b1 d 96 tms 136 r4 b 17 g6 a 57 b2 a 97 gnd 137 r4 c 18 g6 b 58 b2 b 98 v aa 138 r4 d 19 g6 c 59 b2 c 99 tdo 139 r5 a 20 g6 d 60 b2 d 100 tdi 140 r5 b 21 g7 a 61 b3 a 101 syncout 141 r5 c 22 v aa 62 b3 b 102 trisync 142 r5 d 23 v aa 63 b3 c 103 odd/ even 143 r6 a 24 gnd 64 b3 d 104 sync 144 r6 b 25 gnd 65 b4 a 105 blank 145 r6 c 26 v aa 66 b4 b 106 v ref 146 r6 d 27 gnd 67 b4 c 107 iob 147 r7 a 28 pll ref 68 b4 d 108 comp 148 r7 b 29 g7 b 69 b5 a 109 r set 149 r7 c 30 g7 c 70 b5 b 110 v aa 150 gnd 31 g7 d 71 b5 c 111 v aa 151 v aa 32 ps0 a 72 b5 d 112 gnd 152 r7 d 33 ps0 b 73 b6 a 113 iog 153 g0 a 34 ps0 c 74 b6 b 114 ior 154 g0 b 35 ps0 d 75 b6 c 115 r0 a 155 g0 c 36 ps1 a 76 b6 d 116 r0 b 156 g0 d 37 ps1 b 77 b7 a 117 r0 c 157 g1 a 38 ps1 c 78 b7 b 118 r0 d 158 g1 b 39 ps1 d 79 b7 c 119 r1 a 159 g1 c 40 clock 80 b7 d 120 r1 b 160 g1 d
ADV7160/adv7162 rev. 0 C13C pin function description mnemonic function red (r0 a ...r0 b C r7 a ...r7 d ), green (g0 a ...g0 d C g7 a ...g7 d ), blue (b0 a ...b0 d C b7 a ...b7 d ): pixel port (ttl compatible inputs): 96 pixel select inputs, with 8 bits each for red, green and blue. each bit is multiplexed [a-d] 4:1 or 2:1. it can be configured for 24-bit true-color data, 8-bit pseudo-color data, 16-bit true-color and 15-bit true-color data formats. in 8-bit pseudo-color mode, there is a special case whereby 8:1 multiplexing is also available. it will be explained in more detail later. pixel data is latched into the device on the rising edge of loadin. ps0 a . . . ps0 d , ps1 a ...ps1 d palette priority selects (ttl compatible inputs): the eight ps inputs provide two bits after input multiplexing. these pixel port select inputs can be configured for three separate functions. in overlay mode, these inputs provide a three color overlay function. with any value other than 00 on the overlay inputs, the color displayed comes from the overlay palette instead of the main pixel inputs. for the ADV7160, in bypass mode, ps1 specifies for each pixel whether it should pass through the color matrix and color palette or bypass the matrix and palette. ps0 acts as an overlay input. (this mode is not available for the adv7162.) palette select mode is used to multiplex the rgb outputs of a number of devices. when the palette mode inputs match the ps bits in the mode register, the part operates as normal. when there is a mismatch, the rgb outputs are switched to zero, allowing the rgb outputs of another device to drive the monitor. loadin pixel data load input (ttl compatible input): this input latches the multiplexed pixel data, in- cluding ps0-ps1, blank , trisync , sync and odd/ even into the device. loadout pixel data load output (ttl compatible output): this output control signal runs at a divided down frequency of the pixel clock. its frequency is a function of the multiplex rate. it can be used to directly or indirectly drive loadin. f loadout = f clock /m where (m = 2 for 2:1 multiplex mode) (m = 4 for 4:1 multiplex mode) (m = 8 for 8:1 multiplex mode) prgckout programmable clock output (ttl compatible output): this output control signal runs at a divided down frequency of the pixel clock. its frequency is user programmable and is determined by bits cr30 and cr31 of command register 3. f prgckout = f clock /n where n = 4, 8, 16 & 32 sckin video shift clock input (ttl compatible input): the signal on this input is internally gated syn- chronously with the blank signal. the resultant output, sckout, is a video clocking signal that is stopped during video blanking periods. it is normally driven by a divided down version of the clock frequency. sckout video shift clock output (ttl compatible output): this output is a synchronously gated version of sckin and blank . sckout is a video clocking signal that is stopped during video blanking periods. clock, clock clock inputs (ecl compatible inputs): these differential clock inputs are designed to be driven by ecl logic levels configured for single supply (+5 v) operation. the clock rate is normally the pixel clock rate of the system. pll ref pll clock input (ttl compatible input): this clock input is designed to be driven by ttl logic levels. the pll is then configured to output a specific frequency depending on the pll registers. see pll section for more detail. blank composite blank (ttl compatible input): this video control signal drives the analog outputs to the blanking level. sync composite-sync input (ttl compatible input): this video control signal drives any of the analog outputs to the sync level. it is only asserted during the blanking period. cr22 in command register 2 must be set if sync is to be decoded onto the iog analog output, cr41 in command register 4 must be set if sync is to be decoded onto the ior analog output, cr42 in command register 4 must be set if sync is to be decoded onto the iob analog output, otherwise the sync input is ignored.
rev. 0 C14C ADV7160/adv7162 mnemonic function syncout composite-sync output (ttl compatible output). this video output is a delayed version of sync . the delay corresponds to the number of pipeline stages of the device. trisync composite-sync hdtv control (ttl compatible output). this video input is enabled using bit cr17 in command register 1. when trisync is low, any dac output which has sync enabled, goes to the tri-sync level. as with the sync input, it should only be activated while blank is low. d9Cd0 data bus (ttl compatible input/output bus). data, including color palette values and device con- trol information is written to and read from the device over this 10-bit, bidirectional databus. 10-bit data or 8-bit data can be used. the databus can be configured for either 10-bit parallel data or byte data (8+2) as well as standard 8-bit data. any unused bits of the data bus should be terminated through a resistor to either the digital power plane (v cc ) or gnd. odd/ even odd/even control (ttl compatible input). this input indicates which field of the frame is being displayed. it is required to ensure proper operation of the ADV7160/adv7162 cursor when inter- laced display mode is selected. it is ignored when noninterlaced display mode is selected. this input should change only during the vertical blank period. it is assumed that an odd field will always follow an even field and vice versa. ce chip enable (ttl compatible input). this input must be at logic 0 when writing to or reading from the device over the data bus (d0Cd9). internally, data is latched on the rising edge of ce . r / w read/write control (ttl compatible input). this input determines whether data is written to or read from the devices registers and color palette ram. r / w and ce must be at logic 0 to write data to the part. r / w must be at logic 1 and ce at logic 0 to read from the device. c0, c1 command controls (ttl compatible inputs). these inputs determine the type of read or write op- eration being performed on the device over the data bus, (see interface truth table). data on these inputs is latched on the falling edge of ce. ior, iog, iob red, green & blue current outputs (high impedance current sources). these rgb video outputs are specified to directly drive rs-343a and rs-170 video levels into doubly terminated 75 w loads. v ref voltage reference input (analog input): an external 1.235 v voltage reference is required to drive this input. an ad589 (2-terminal voltage reference) or equivalent is recommended. (note: it is not recommended to use a resistor network to generate the voltage reference.) r se t output full scale adjust control (analog input). a resistor connected between this pin and analog ground controls the absolute amplitude of the output video signal. for a value of r set of nominally 280 w , with 37.5 w termination and using cr43 and cr44 of command register 4 to set the dac gain as shown, the required video standard can be achieved. cr44 cr43 video standard dac gain black to white 0 0 rs343a, sync & pedestal 3996 660 mv 17.62 ma 0 1 rs343a, sync & no pedestal 4224 699 mv 18.63 ma 1 0 rs343a, no sync & no pedestal 4311 714 mv 19.05 ma 1 1 rs170, sync & pedestal 5592 925 mv 24.67 ma alternatively, r set can be calculated by the following equation: r set dac gain v ref black to white current comp compensation pin. a 0.1 m f capacitor should be connected between this pin and v aa . v aa power supply (+5 v 5%). the part contains multiple power supply pins, all should be connected together to one common +5 v filtered analog power supply. gnd: analog ground. the part contains multiple ground pins, all should be connected together to the systems ground plane. tms, tck, these four pins control the jtag test access port. tdi, tdo see appendix 6 for more detail
ADV7160/adv7162 rev. 0 C15C (continued from page 1) the ADV7160/adv7162 integrates a number of graphic func- tions onto one device allowing 24-bit direct true-color (30-bit corrected-color) operation at the maximum screen resolution of 1600 1280 at a refresh rate of 85 hz. the ADV7160/ adv7162 integrates a 256 30 color palette ram with three high speed, 10-bit, digital-to analog converters (rgb dacs). it also contains a user-definable, x-windows compatible, 64 64 2 cursor generator and associated ram. an on-board overlay palette ram is also included. the devices 96-bit pro- grammable pixel port enables various data formats to be input to the part. an on-board clock and synchronization circuit controls all clocking functions for both the part and graphics subsystem. there are two video data paths through the adv716 0/adv7162. one routes the data from the pixel port through the ram to the dacs, the other bypasses the ram and routes data direct from the pixel port to the dacs. either path can be selected on a pixel by pixel basis. this allows for the overlay of an active video window on a graphics background. the on-board palette priority select inputs enable multiple pal- ette devices to be connected together for use in multipalette and window applications. the part is controlled and programmed through the microprocessor (mpu) port. one ttl input signal pll ref are required to get the part operational. no additional signals or external glue logic are re- quired to get the pixel port and clock control circuit of the part operational. multiplexer 24 24 24 24 24 8 8 8 red green blue a b c d figure 15. multiplexed color inputs for the ADV7160/adv7162 pixel port (color data) the ADV7160/adv7162 has 96 color data inputs. the part has four (for 4:1 multiplexing) 24-bit wide direct color data in- puts. these are user programmed to support a number of color data formats including 24-bit true-color, 16-bit true-color, 15-bit true-color in 4:1 and 2:1 multiplex modes, and 8-bit pseudo-color (see multiplexing section) in 8:1, 4:1 and 2:1 multiplex modes. color data is latched into the parts pixel port on every rising edge of loadin (see timing waveform, figure 4). the required frequency of loadin is determined by the multiplex rate, where f loadin = f clock /8 8:1 multiplex mode f loadin = f clock /4 4:1 multiplex mode f loadin = f clock /2 2:1 multiplex mode circuit details and operation overview digital video or pixel data is latched into the ADV7160/adv7162 over the devices pixel port. this data acts as a pointer to on- board color palette ram. the data at the ram address pointed to is latched to the digital-to-analog converters (dacs) and out- put as an rgb analog video signal. for the purposes of clarity of description, the ADV7160/adv7162 is broken down into three separate functional blocks. these are: 1. pixel port and clock control circuit 2. mpu port, registers and color palette 3. digital-to-analog converters and video outputs pixel port & clock control circuit the pixel port of the ADV7160/adv7162 is directly interfaced to the video/graphics pipeline of a computer graphics subsystem. it is connected directly or through a gate array to the video ram of the systems frame-buffer (video memory). the pixel port on the device consists of: color data red, green, blue pixel controls sync , blank , trisync palette selects ps0 a-d , ps1 a-d the associated clocking signals for the pixel port include: clock inputs clock, clock , pll ref , loadin, sckin clock outputs loadout, prgckout, sckout these on-board clock control signals are included to simplify in- terfacing between the part and the frame buffer. either two control input signals clock and clock (ecl levels) or the 30 bits of resolution, associated with the color look-up table and triple 10-bit dac, realizes 24-bit true-color resolution, while also allowing for the on-board implementation of linear- ization algorithms, such as gamma-correction and monitor callibration. this allows effective 30-bit true-color operation. the on-chip video clock controller circuit generates all the inter- nal clocking and some additional external clocking signals. the high accuracy, low jitter on board pll eliminates the need for an external high speed clock generator. the pll can be pro- grammed to produce a pixel clock that is a multiple of the pll reference clock. the adv7162 is packaged in a standard plastic 160-pin quad flatpack (qfp). the ADV7160 is packaged in a plastic 160-pin power quad flatpack (pquad). superior thermal distribution is achieved by the inclusion of a copper heatslug, within the standard package outline, to which the die is attached. this part is ideally suited for high performance applications where external environmental conditions are unpredictable and uncontrollable.
rev. 0 C16C ADV7160/adv7162 other pixel data signals latched into the device by loadin include sync , blank , trisync and ps0 a-d C ps1 a-d . internally, data is pipelined through the part by the differential pixel clock inputs, clock and clock or by the internal pixel clock generated by the pll on-board. the loadin control signal need only have a frequency synchronous relation- ship to the pixel clock (see pipeline delay & on-board calibration section). a completely phase independent loadin signal can be used with the ADV7160/adv7162, allowing the clock to occur anywhere during the loadin cycle. alternatively, the loadout signal of the ADV7160/adv7162 can be used. loadout can be connected either directly or indirectly to loadin. its frequency is automatically set to the correct loadin requirement. sync , blank the blank and sync video control signals drive the analog outputs to the blank and sync levels respectively. these signals are latched into the part on the rising edge of loadin. the sync information is encoded onto the iog analog signal when bit cr22 of command register 2 is set to 1, the ior analog signal when bit cr41 of command register 4 is set to 1 and the iob analog signal when bit cr42 of command register 4 is set to 1. the sync input is ignored if cr22, cr41 and cr42 are set to logic 0. syncout in some applications where it is not permissible to encode sync on green (iog), blue (iob), or red (ior), syncout can be used as a separate ttl digital sync output. this has the advantage over an independent (of the ADV7160/adv 7162) sync in that it does not necessitate knowing the absolute pipe- line delay of the part. this allows complete independence between loadin/pixel data and clock. the sync input is connected to the device as normal with bit cr22 of com- mand register 2, bit cr41 of command register 4 and bit cr42 of command register 4 are set to 0 thereby preventing sync from being encoded onto iog, ior and iob. the out- put signal generates a ttl syncout with correct pipeline delay which is capable of directly driving the composite sync signal of a computer monitor. trisync this input is used to generate a hdtv sync on any of the dac outputs. bit cr17 of command register 1 is set to 1, en- abling trisync . when trisync is low, the analog output which has sync enabled goes to the tri-sync level. ps0 a-d Cps1 a-d (palette priority select inputs) these multifunctional ttl compatible inputs can be config- ured for three separate functions. the eight ps inputs are mul- tiplexed to provide two bits which are used to provide one of three different functions. the function is selected by bit cr14 and bit cr15 of command register 1. cr15 cr14 color mode 0 0 palette select mode 0 1 bypass mode control (ADV7160 only) 1 0 overlay color mode 1 1 ignore ps inputs however, in 8:1 mode, for 8-bit pseudo color, the unused blue pixel inputs are used to provide 8 extra ps inputs. the bypass mode is unavailable in this case. palette select mode these pixel port select inputs effectively determine whether the devices rgb analog outputs are turned-on or shut down. when the analog outputs are shut down, ior, iog and iob are forced to 0 ma regardless of the state of the pixel and control data inputs. this state is determined on a pixel by pixel basis as the ps0Cps1 inputs are multiplexed in exactly the same format as the pixel port color data. these controls allow for switching between multiple palette devices. if the values of ps0 and ps1 match the values programmed into bits mr16 and mr17 of the mode register, then the device is selected, if there is no match the device is effectively shut down. bypass mode control (ADV7160 only) in this mode ps1 is used to switch between one of the color modes through the color palette and one of the palette bypass modes on a pixel by pixel basis. the color mode through the palette is selected using bits cr27Ccr24 of command regis- ter 2. the bypass color mode is selected using bits cr17 and cr16 of command register 1. ps1 then switches between the palette color mode, and the bypass color mode. the ps0 in- put continues to act as an overlay input, allowing overlay color 1 to be displayed. ps0 ps1 color mode 0 0 palette color mode (cr27Ccr24) 0 1 bypass color mode (cr17Ccr16) 1 x overlay color 1 this mode is not available if using the adv7162. overlay color mode in this mode, the ps inputs provide control for a three color overlay. whenever the value other than 00 is placed on the overlay inputs, the corresponding overlay color is displayed. when the overlay inputs contain 00 the color is specified by the main pixel inputs. clock control circuit the ADV7160/adv7162 has an integrated clock control cir- cuit (figure 16). this circuit is capable of both generating the ADV7160/adv7162s internal clocking signals as well as exter- nal graphics subsystem clocking signals. total system synchro- nization can be attained by using the parts output clocking signals to drive the controlling graphics processors master clock as well as the video frame buffers shift clock signals. clock, clock inputs the clock control circuit is driven by the pixel clock inputs, clock and clock . these inputs can be driven by a differ- ential ecl oscillator running from a +5 v supply.
ADV7160/adv7162 rev. 0 C17C ADV7160/ adv7162 loadout loadin blank sckout sckin latch en clock clock ecl to ttl divide by m ( ? m) divide by n ( ? n) prgckout s e l e c t pll ref to color data multiplexer trisync pll sync m is a function of multiplex rate m = 8 in 8:1 multiplex mode m = 4 in 4:1 multiplex mode m = 2 in 2:1 multiplex mode n is independently programmable n = (4, 8, 16, 32) figure 16. c lock control circuit of the ADV7160/adv7162 clock control signals loadout the ADV7160/adv7162 generates a loadout control sig- nal which runs at a divided down frequency of the pixel clock. the frequency is automatically set to the pro- grammed multiplex rate, controlled by cr37 and cr36 of command register 3. f loadout = f clock /8 8:1 multiplex mode f loadout = f clock /4 4:1 multiplex mode f loadout = f clock /2 2:1 multiplex mode the loadout signal is used to directly drive the loadin pixel latch signal of the ADV7160/adv7162. this is most sim- ply achieved by tying the loadout and loadin pins to- gether. alternatively, the loadout signal can be used to drive the frame buffers shift clock signals, returning to the loadin input delayed with respect to loadout. if it is not necessary to have a known fixed number of pipeline delays, then there is no limitation on the delay between loadout and loadin (loadout(1) and loadout(2)). loadin and pixel data must conform to the setup and hold times (t 8 and t 9 ). if however, it is required that the ADV7160/adv7162 has a fixed number of pipeline delays (t pd ) loadout and loadin must conform to timing specifications t 10 and t Ct 11 as illustrated in figures 5 to 10. ADV7160/ adv7162 loadout loadin pixel data video frame buffer loadout(1) loadout(2) ADV7160/ adv7162 loadout loadin pixel data video frame buffer loadout loadin loadout(1) loadout(2) delay figure 17. loadoout vs pixel clock pipeline delay and onboard calibration the ADV7160/adv7162 has a fixed number of pipeline delays (t pd ), so long as timings t 10 and t Ct 11 are met. however, if a fixed number of pipeline delays is not a requirement, timings t 10 and t Ct 11 can be ignored, a calibration cycle must be run and there is no restriction on loadin to loadout timing. if timings t 10 and t Ct 11 are not met, the part will function correctly though with an increased number of pipeline delays. the ADV7160/adv7162 has on-board calibration circuitry which synchronizes pixel data and loadin with the internal ADV7160/adv7162 clocking signals. calibration can be per- formed in two ways. during the devices initialization sequence by toggling two bits of the mode register, mr10 followed by mr15 or by writing a 1 to bit cr10 of command register 1 and a 0 to mr15 which executes a calibration on every vertical sync. prgckout the prgckout control signal outputs a user programmable clock frequency. it is a divided down frequency of the pixel clock (see figure 11). the rising edge of prgckout is synchronous to the rising edge of loadout. f prgckout = f clock /n where n = 4, 8, 16 or 32. one application of the prgckout is to use it as the master clock frequency of the graphics subsystems processor or controller. sckin, sckout these video memory signals are used to minimize external sup- port chips. figure 18 illustrates the function that is provided. an input signal applied to sckin is synchronously and-ed with the video blanking signal ( blank ). the resulting signal is output on sckout. figure 12 of the timing waveform section shows the relationship between sckout, sckin and blank . blank sckout sckin latch enable sync figure 18. sckout generation circuit
rev. 0 C18C ADV7160/adv7162 the sckout signal is essentially the video memory shift con- trol signal. it is stopped during the screen retrace. figure 19 shows a suggested frame buffer to ADV7160/adv7162 interface. this is a minimum chip solution and allows the ADV7160/adv7162 con- trol the overall graphics system clocking and synchronization. loadout sckout ADV7160/ adv7162 pixel data loadin sckin blank video frame buffer figure 19. ADV7160/adv7162 interface using sckin and sckout pll the on-board pll can be used as an alternative clock source. this eliminates the need for an external high speed clock gen- erator such as a crystal oscillator. with the pll, it is possible to generate an internal clock whose frequency is a multiple of the pll reference frequency (pll ref ). internal pll operation is selected by setting cr56 of command register 5 to logic 1. the pll registers can be programmed to set up the frequency required. the block diagram of the phase locked loop is shown in fig- ure 20. the blocks consist of a phase frequency detector, a charge pump, a loop filter, a voltage controlled oscillator and a programmable divider. voltage controlled oscillator charge pump phase detector reference divider pll ref f pd feedback divider f vco o/p divider f out f pd figure 20. pll block diagram the phase frequency detector drives the voltage controlled oscil- lator (vco), to a frequency that will cause the two inputs to the phase frequency detector to be matched in frequency and phase. the corresponding output of the vco can be calculated as: vco = pll ref feedback divider reference divider the reference divider is set by a combination of the contents of the pll r register and the rsel bit. the pll r register has a resolution of 7 bits. it is programmed by setting the pll r register located at control register address 00ch . the pll r register can be set from 01h to 7fh. it should not be set to 00h. if this register contains 00h, then the pll stops. there- fore, the reference divider can be set from 3 to 129 in steps of one, or from 130 to 258 in steps of two by setting the rsel bit. the rsel bit is accessed by changing bit pcr1 of the pll control register. the feedback divider is set by a combina- tion of the contents of the pll v register, the vsel bit and the s value. the s value is set up in pcr7 and pcr6 of the pll command register. this s value allows a better resolu- tion when setting the feedback divider value. the pll v reg- ister has a resolution of 7 bits. it is programmed by setting the pll v register located at control register address 00fh .the pll v register can be set from 01h to 7fh. it should not be set to 00h. if this register contains 00h, then the pll stops. therefore the feedback divider can be set from 12 to 519 in steps of one, or from 520 to 1038 in steps of two by setting the vsel bit. the vsel bit is accessed by changing bit pcr2 of the pll control register. the p counter divides the output from the oscillator by 1, 2, 4 or 8 as determined by psel1 and psel0 which are set in bits pcr5 and pcr4 of the pll con- trol register. this post-scaler is useful in the generation of lower frequencies as the vco has been optimized for high frequency operation. (1 + vsel )(4(v+2) + s) (1 + rsel)(r+2) pll ref f vco vco vco/2 vco/4 vco/8 psel1 psel0 f out f out f vco f vco /2 f vco/ 4 f vco/ 8 psel1 0 0 1 1 psel0 0 1 0 1 figure 21. pll transfer function the transfer function of the pll can be summarized by the block diagram shown in figure 21. to optimize the performance of the on-board pll, the follow- ing criteria should be followed: 900 khz < pll ref < 40 mhz 300 khz < f pd < 10 mhz 120 mhz < f vco < 260 mhz for f vco > 220 mhz, v sel should be programmed to logic 0. any lower frequency output can be achieved by using the output divider. a jitter performance graph as a function of both f pd and f vco is illustrated in figure 22. it can be seen that jitter decreases with increasing f vco and also that jitter decreases with increasing f pd . for each f out , the user should firstly maximize f vco us- ing the output divider and then pick pll ref and reference di- vide to maximize fpd. when generating multiple output frequencies from one pll ref value, an iterative process should be used to find the pll ref value that gives the best trade off be- tween jitter performance and f out accuracy. vco frequency ?mhz 250 0 50 300 100 150 200 250 200 150 100 50 f pd = 0.3mhz f pd = 0.42mhz f pd = 0.57mhz f pd = 0.8mhz f pd = 1.0mhz f pd = 1.5mhz f pd = 2.0mhz f pd = 2.7mhz f pd = 4.0mhz f pd = 5.3mhz jitter measured at 15? rms jitter ?ps figure 22. pll jitter
ADV7160/adv7162 rev. 0 C19C color video modes the ADV7160/adv7162 supports a number of color video modes all at the maximum video rate. command bits cr27Ccr24 of command register 2 along with bit mr11 of mode register 1 determine the color mode. seven color modes use the color palette, and three of them bypass the palette and control the dacs directly. 24-bit true color (cr27, cr26, cr25, cr24 = 1, 1, 1, 0) the part is set to 24-bit/30-bit gamma true-color operation with mr11 set to logic 1 and direct 24-bit true-color op- eration with mr11 set to logic 0. the pixel port accepts 24 bits of color data which is directly mapped to the look-up table ram. with mr11 set to logic 1, the look-up table is configured as a 256 location by 30 bits deep ram (10 bits each for red, green and blue), the ram is preloaded with a user determined, nonlinear function, such as a gamma correc- tion curve and the output of the ram drives the dacs with 30-bit data. with mr11 set to logic 0, the look-up table is configured as a 256 location by 24 bits deep ram (8 bits each for red, green and blue), the ram is preloaded with a linear function and the output of the ram drives the dacs with 24- bit data. 8 8 8 24-bit color data 24-bit to 30-bit look-up table 30-bit color data analog video outputs red 256 x 10 10 10 10 10-bit red dac 10-bit green dac 10-bit blue dac red out green out blue out green 256 x 10 blue 256 x 10 figure 23. 24-bit to 30-bit true-color configuration 16-bit true color (cr27, cr26, cr25, cr24 = 1, 0, 1, 1) the part is set to 16-bit true-color operation. the pixel port accepts 16 bits of color data which is mapped to the 5 lsbs of each of the red and blue palettes of the look-up-table ram, and 6 lsbs of the green palette of the look-up-table ram. with mr11 set to logic 1, the look-up table is configured as a 64 location by 30 bits deep ram (10 bits each for red, green and blue) and the output of the ram drives the dacs with 30-bit data, allowing the display of 16-bit gamma- corrected true-color images. with mr11 set to logic 0, the look-up table is configured as a 64 location by 24 bits deep ram (8 bits each for red, green and blue); and the out- put of the ram drives the dacs with 24-bit data, allowing the display of 16-bit true-color images. 15-bit true color (cr27, cr26, cr25, cr24 = 1, 1, 0, 0 or 1, 1, 0, 1) the part is set to 15-bit true-color operation. the pixel port accepts 15 bits of color data which is mapped to the 5 lsbs of each of the red, green and blue palettes of the look-up table ram. with mr11 set to logic 1, the look-up table is con- figured as a 32 location by 30 bits deep ram (10 bits each for red, green and blue) and the output of the ram drives the dacs with 30-bit data, allowing the display of 15-bit gamma- corrected true-color images. with mr11 set to logic 0, the look-up table is configured as a 32 location by 24 bits deep ram (8 bits each for red, green and blue) and the out- put of the ram drives the dacs with 24-bit data, allowing the display of 15-bit true-color images. 15-bit color data 15-bit to 24-bit look-up table analog video outputs red 32 x 8 green 32 x 8 blue 32 x 8 5 5 5 8 8 8 8-bit red dac 8-bit green dac 8-bit blue dac red out green out blue out 24-bit color data figure 24. 15-bit to 24-bit true-color configuration 8-bit pseudo color (cr27, cr26, cr25, cr24 = 0, 0, 0, 0 or 0, 1, 0, 0 or 1, 0, 0, 0) this mode sets the part into 8-bit pseudo-color operation. the pixel port accepts 8 bits of pixel data, from either the red, blue or green channel. with mr11 set to logic 1, a 30-bit word is indexed in the look-up table ram. the look-up table is configured as a 256 location by 30 bits deep ram (10 bits each for red, green and blue). the output of the ram drives the dacs with 30-bit data. with mr11 set to logic 0, a 24-bit word is indexed in the look-up table ram. the look-up table is configured as a 256 location by 24 bits deep ram (8 bits each for red, green and blue). the output of the ram drives the dacs with 24-bit data. this mode allows for the dis- play of 256 simultaneous colors out of a total palette of millions of addressable colors. 8-bit pixel data 8-bit to 30-bit look-up table 30-bit color data analog video outputs red 256 x 10 10 10 10 10-bit red dac 10-bit green dac 10-bit blue dac red out green out blue out 8 green 256 x 10 blue 256 x 10 figure 25. 8-bit to 30-bit pseudo-color configuration pixel port mapping the pixel data to the ADV7160/adv7162 is automatically mapped in the parts pixel port as determined by the pixel data mode programmed (bits cr27Ccr24 of command register 2). pixel data in the 24-bit true-color modes is directly mapped to the 24 color inputs r7Cr0, g7Cg0 and b7Cb0. there is one mode of operation for 16-bit true color. data is input to the device over the red and green color ports (r7Cr0 and g7Cg0) and is internally mapped to lut locations 0C63 according to figure 26. (note: data on unused pixel inputs is ignored.) .
rev. 0 C20C ADV7160/adv7162 to blue dac to green dac to red dac 10 10 10 0 r4 r3 r2 r1 r0 0 0 r7 r4 r3 r2 r1 r0 r6 r5 0 g4 g3 g2 g1 g0 0 g5 g7 g4 g3 g2 g1 g0 g6 g5 0 b4 b3 b2 b1 b0 0 0 x x x x x x x x r7 r4 r3 r2 r1 r0 r6 r5 g7 g4 g3 g2 g1 g0 g6 g5 b7 b4 b3 b2 b1 b0 b6 b5 r4 r3 r2 r1 r0 g5 g4 g3 g2 g1 g0 b4 b3 b2 b1 b0 x x x x x x x x pixel input data pin assign- ments data latched to pixel port data internally shifted to 5 or 6 lsbs data latches first 32 or 64 locations of ram 256 x 10 ram (red lut) location "31" location "0" 5 256 x 10 ram (green lut) location "63" location "0" 5 256 x 10 ram (blue lut) location "31" location "0" 5 figure 26. 16-bit true-color mapping using r7Cr0 and g7Cg0 256 x 10 ram (red lut) location "31" location "0" 5 to blue dac to green dac to red dac 10 10 10 0 r4 r3 r2 r1 r0 0 0 x r4 r3 r2 r1 r0 x x 0 g4 g3 g2 g1 g0 0 0 0 b4 b3 b2 b1 b0 0 0 b4 b1 b0 x x x b3 b2 r7 r4 r3 r2 r1 r0 r6 r5 g7 g4 g3 g2 g1 g0 g6 g5 b7 b4 b3 b2 b1 b0 b6 b5 r4 r3 r2 r1 r0 x x x g4 g3 g2 g1 g0 x x x b4 b3 b2 b1 b0 x x x pixel input data pin assign- ments data latched to pixel port data internally shifted to 5 lsbs data latches first 32 locations of ram 256 x 10 ram (green lut) location "31" location "0" 5 256 x 10 ram (blue lut) location "31" location "0" 5 x g4 g3 g2 g1 g0 x x figure 27. 15-bit true color mapping using r7Cr3, g7Cg3 and b7Cb3 to blue dac to green dac to red dac 10 10 10 0 r4 r3 r2 r1 r0 0 0 x r4 r3 r2 r1 r0 r6 r5 0 g4 g3 g2 g1 g0 0 0 g7 g4 g3 g2 g1 g0 g6 g5 0 b4 b3 b2 b1 b0 0 0 x x x x x x x x r7 r4 r3 r2 r1 r0 r6 r5 g7 g4 g3 g2 g1 g0 g6 g5 b7 b4 b3 b2 b1 b0 b6 b5 x r4 r3 r2 r1 r0 g4 g3 g2 g1 g0 b4 b3 b2 b1 b0 x x x x x x x x pixel input data pin assign- ments data latched to pixel port data internally shifted to 5 lsbs data latches first 32 locations of ram 256 x 10 ram (red lut) location "31" location "0" 5 256 x 10 ram (green lut) location "31" location "0" 5 256 x 10 ram (blue lut) location "31" location "0" 5 figure 28. 15-bit true-color mapping using r6Cr0 and g7Cg0 the part has two modes of operation for 15-bit true color. in the first mode, data is input to the device over the red, green and blue channel (r7Cr3, g7Cg3 and b7Cb3) and is internally mapped to locations 0 to 31 of the look-up table (lut) according to figure 27. in the second mode, data is input to the device over just two of the color ports, red and green (r7Cr0 and g7Cg0) and is inter- nally mapped to lut locations 0 to 31 according to figure 30. (note: data on unused pixel inputs is ignored.) there are three modes of operation for 8-bit pseudo color. each mode maps the input pixel data differently. data can be input into one of the three color channels, r7Cr0 or g7Cg0 or b7Cb0. in 24-bit palette bypass mode, the red, blue and green color channels bypass the pixel mask and the color palette. each 8- bit color channel is mapped onto the 8 msbs of the correspond- ing 10-bit dac input. the two lsbs on each dac are zeros. the bypass mode can be selected in two ways, by using cr27C cr24 of command register 2 or on a pixel by pixel basis using the ps inputs (ADV7160 only). in 16-bit palette bypass mode, the color channels bypass the pixel mask and the color palette. the 8-bits of red pixel data and 8-bits of green pixel data are mapped onto the 5 msbs of the red and blue dac input and the 6 msbs of the green dac input as shown in figure 29. the remaining lsbs on each dac are zeros. the bypass mode can be selected in two ways, by using cr27Ccr24 of command register 2 or on a pixel by pixel basis using the ps inputs (ADV7160 only).
ADV7160/adv7162 rev. 0 C21C r6 r3 r2 r1 r0 g7 r5 r4 g7 g4 g3 g2 g1 g0 g6 g5 x x x x x x x x r8 r5 0 0 0 0 r7 r6 r9 g8 g5 g4 0 0 0 g7 g6 g9 0 b8 b5 0 0 0 0 b7 b6 b9 0 r7 r4 r3 r2 r1 r0 r6 r5 g7 g4 g3 g2 g1 g0 g6 g5 b7 b4 b3 b2 b1 b0 b6 b5 r9 r8 r7 r6 r5 g9 g8 g7 x g6 g5 b9 b8 b7 b6 b5 x x x x x x x x pixel input data pin assign- ments data latched to pixel port data latched to dac inputs ior iog iob red dac green dac blue dac figure 29. 16-bit true-color in bypass mode using r7Cr0 and g7Cg0 x r4 r3 r2 r1 r0 r6 r5 g7 g4 g3 g2 g1 g0 g6 g5 x x x x x x x x r8 r5 0 0 0 0 r7 r6 r9 g8 g5 0 0 0 0 g7 g6 g9 0 b8 b5 0 0 0 0 b7 b6 b9 0 r7 r4 r3 r2 r1 r0 r6 r5 g7 g4 g3 g2 g1 g0 g6 g5 b7 b4 b3 b2 b1 b0 b6 b5 g7 g6 g5 b9 b8 b7 b6 b5 x x x x x x x x pixel input data pin assign- ments data latched to pixel port data latched to dac inputs ior iog iob red dac green dac blue dac x r9 r8 r7 r6 r5 g9 g8 fiigure 30. 15-bit true-color in bypass mode using r6Cr0 and g7Cg0 in 15-bit palette bypass mode, the color channels bypass the pixel mask and the color palette. the 7 bits of red pixel data and 8 bits of green pixel data are mapped onto the 5 msbs of the red, green and blue dac input as shown in figure 30. the remaining lsbs on each dac are zeros. the bypass mode can be selected in two ways, by using cr27Ccr24 of command register 2 or on a pixel by pixel basis using the ps inputs (ADV7160 only). multiplexing the on-board multiplexers of the ADV7160/adv7162 elimi- nate the need for external data serializer circuits. multiple video memory devices can be connected, in parallel, directly to the de- vice. figure 31 shows four memory banks of 50 mhz memory connected to the ADV7160, running in 4:1 multiplex mode, giving a resultant pixel or dot clock rate of 200 mhz. instead of having to provide a new pixel at the input every 5 ns, four pixels are provided together every 20 ns. the input multiplexer takes the four pixels latched in parallel, and selects them one at a time to produce a pixel stream at the pixel clock rate. in 4:1 mode, the pixels are selected in the sequence a, b, c, d, cycling continu- ously. in 2:1 mode, the a and b pixels are selected. the 8:1 mode is only available in 8-bit pseudo-color mode. blank , syn c , odd/ even and trisync are not multiplexed and can only change on a 1, 2, 4 or 8 pixel boundary depending on the multiplex mode. on the rising edge of loadin, all the pixel port inputs are latched into the ADV7160/adv7162. the loadin frequency must be a divided down frequency of the pixel clock frequency. this can be achieved using loadout to directly drive loadin as loadout provides the correct frequency re- quired, or drive loadin after delay through some external cir- cuitry. multiplexer 50mhz 50mhz 50mhz 50mhz 50mhz 50mhz 50mhz 50mhz 50mhz 50mhz 50mhz 50mhz 24 24 24 24 24 200mhz (4 50mhz) video memory/ frame buffer ADV7160/adv7162 vram (bank a) vram (bank b) vram (bank c) vram (bank d) figure 31. direct interfacing of video memory to ADV7160/adv7162 8-bit pseudo color in 8:1 multiplexing mode when 8:1 multiplexing mode is selected by setting bit cr37 of command register 3 to logic 1 and bit cr36 of command register 3 to logic 0, the ADV7160/adv7162 goes into 8- bit pseudo-color mode irrespective of the color mode selected by bits cr27 to cr24 in command register 2. hence loadout operates at f clock /8. eight 8-bit pixels are latched in parallel by the rising edge of loadin. these 8-bit pixels are then selected, one at a time, to produce an 8-bit pixel stream which passes through the pixel mask to address the lut. the order the eight 8-bit pixels are displayed is ga, ra, gb, rb, gc, rc, gd, rd.
rev. 0 C22C ADV7160/adv7162 figure 33. mpu port and register configuration microprocessor (mpu port) the ADV7160/adv7162 supports a standard mpu interface. all the functions of the part are controlled via this mpu port. direct access is gained to the address register, mode register and all the control registers as well as the color palette. the following sections describe the setup for reading and writing to all of the devices registers. mpu interface the mpu interface (figure 33) consists of a bidirectional, 10- bit wide databus and interface control signals ce , c0, c1 and r / w . the 10-bit wide databus is user configurable as illustrated. table i. data-bus width data-bus ram/dac read/write width resolution mode 10-bit 10-bit 10-bit parallel 10-bit 8-bit 8-bit parallel 8-bit 10-bit 8 + 2 byte 8-bit 8-bit 8-bit parallel register mapping the ADV7160/adv7162 contains a number of on-board regis- ters including the mode register (mr17Cmr10), address reg- ister (a10Ca0) and many control registers as well as color palette registers. these registers control the entire operation of the part. figure 34 shows the internal register configuration. control lines c1 and c0 determine which register the mpu is accessing. c1 and c0 also determine whether the address reg- ister is pointing to the color registers and look-up table ram or the control registers. if c1, c0 = 1, 0 the mpu has access to whatever control register is pointed to by the address register (a10Ca0). if c1, c0 = 0, 1 the mpu has access to the look- up table ram (color palette) or the overlay palette through the associated color registers. the ce input latches data to or from the part. the r/ w control input determines between read or write ac- cesses. the truth tables show all modes of access to the various registers and color palette for both the 8-bit wide databus con- figuration and 10-bit wide data bus configuration. it should be noted that after power-up, the devices mpu port is automati- cally set to 10-bit wide operation (see power-on reset section). figure 32. 8-bit pseudo color in 8:1 multiplexing mode the unused blue pixel inputs are used, in this mode, to provide 8 extra ps inputs. these ps inputs provide 2 bits after 8:1 mul- tiplexing. the ps inputs can be used as overlay or palette se- lect inputs. 2 ps p i x e l i n p u t m u l t i p l e x e r g7?0 r7?0 g7?0 r7?0 g7?0 r7?0 g7?0 r7?0 ps1?s0 b1?0 ps1?s0 b1?0 ps1?s0 b1?0 ps1?s0 b1?0 a b c d e f g h a b c d e f g h 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8-bit color data 24-bit to 30-bit look-up-table 30-bit color data analog video outputs red 256 x 10 10 10 10 10-bit red dac 10-bit green dac 10-bit blue dac red out green out blue out 8 green 256 x 10 blue 256 x 10 mpu port c0 ce r/w 10 (8+2) red register data to palettes 30 cursor registers test registers id register status register pixel mask register revision register pll registers command registers (cr1?r5) c1 d9?0 address register mode register green register blue register control registers color registers c1 c0 1 1 addr (a10-a0) (mri) c1 c0 0 1 c1 c0 0 0 c1 c0 1 0
ADV7160/adv7162 rev. 0 C23C figure 34. internal register configuration and address decoding mode register (mr17?r10) address register (a10?0) c1 c0 1 1 c1 c0 0 0 red register (r9-r0) green register (g9-g0) blue register (b9-b0) c1 c0 0 1 points to location corresponding to address register (a10?0) color palette 7ffh ?104h 103h ?101h 100h 0ffh ?000h reserved overlay color 1? (3 x 30) reserved look-up table ram (256 x 30) address reg = address reg +1 address register (a10?0) cursor image reserved cursor color 1 cursor color 2 reserved cursor control reg cursor y-hi reg cursor y-lo reg cursor x-hi reg cursor x-lo reg reserved test register signature misc reg signature blue reg signature green reg signature red reg pll v reg test reg command reg 5 pll r reg revision reg 001h status reg pll command reg command reg 4 command reg 3 command reg 2 command reg 1 pixel mask reg id reg test registers control registers c1 c0 1 0 address register (a10?0) 7ffh ?400h 3ffh ?305h 304h 303h 302h ?205h 204h 203h 202h 201h 200h 1ffh ?016h 015h ?014h 013h 012h 011h 010h 00fh 00eh 00dh 00ch 00bh 00ah 009h 008h 007h 006h 005h 004h 003h 002h ?000h
rev. 0 C24C ADV7160/adv7162 power-on reset on power-up, the ADV7160/adv7162 executes a power-on re- set operation. this initializes the pixel port such that the pixel sequence abcd starts at a. the mode register (mr17Cmr10), command register 2 (cr27Ccr20), command register 3 (cr37Ccr30) have all bits set to a logic 1 and address reg- ister, command register 1 (cr17Ccr10), command register 4 (cr47Ccr40) and command register 5 (cr57Ccr50) have all bits set to a logic 0. the output clocking signals are also set during this reset period. prgckout = clock/32 loadout = clock/4: the power-on reset is activated when v aa goes from 0 v to 5 v this reset is active for 1 m s. the ADV7160/adv7162 should not be accessed during this reset period. the pixel clock should be applied at power-up. color palette accesses the color palette consists of 256 ram locations, each location containing 30 bits of color information. data is written to the color palette by firstly writing to the address register of the color palette location to be modified. the mpu performs three suc- cessive write cycles for each of the red, green and blue registers (10-bit or 8-bit). figures 35 to 38 illustrate write operations for a 10-bit databus using the dacs in 8-bit and 10-bit mode and write operations for an 8-bit databus using the dacs in 8-bit and 10-bit mode. an internal pointer moves from red to green to blue after each write is completed. this pointer is reset to red after a blue write or whenever the address register is written. during the blue write cycle, the three bytes of red, green and blue are concatenated into a single 30-bit/24-bit word and writ- ten to the ram location as specified in the address register (a10Ca0). the address register then automatically increments to point to the next ram location and a similar red, green and blue palette write sequence is performed. the address register resets to 000h following a blue write cycle to color palette ram location 0ffh. the three color overlay palette is located in address space above the main color palette. to access the overlay palette, the address register must first be written with address 101h. from then on, the colors are accessed in the same way as the main color palette, with the address register incrementing after each blue access. data is read from the color palette by firstly writing to the ad- dress register of the color palette location to be read. the mpu performs three successive read cycles from each of the red, green and blue locations (10-bit or 8-bit) of the ram. figures 35 to 38 illustrate read operations for a 10-bit databus using the dacs in 8-bit and 10-bit mode and read operations for an 8-bit databus using the dacs in 8-bit and 10-bit mode. an internal pointer moves from red to green to blue after each read is com- pleted. this pointer is reset to red after a blue read or whenever the address register is written. the address register then auto- matically increments to point to the next ram location and a similar red, green and blue palette read sequence is performed. the address register resets to 000h following a blue read cycle of color palette ram location 0ffh. similarly for the overlay palette, the address register must first be written with address 101h. from then on, the colors are read in the same way as the main color palette, with the address register incrementing af- ter each blue access. figure 35. 8-bit data bus using 10-bit dacs d7 d1 d2 d3 d4 d5 d6 d0 databus r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 first write operation palette r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 second write operation palette d7 d1 d2 d3 d4 d5 d6 d0 r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 first read operation palette r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 second read operation palette r/ w c1 c0 palette write 0 0 0 write to address register (lo- byte) 0 0 0 write to address register (hi- byte) 0 0 1 write red data (r9?2) 0 0 1 write red data (r1?0) 0 0 1 write green data (g9?2) 0 0 1 write green data (g1?0) 0 0 1 write blue data (b9?2) 0 0 1 write blue data (b1?0) 0 0 1 write red data (r9?2) . . r/ w c1 c0 palette read 0 0 0 write to address register (lo- byte) 0 0 0 write to address register (hi- byte) 1 0 1 read red data (r9?2) 1 0 1 read red data (r1?0) 1 0 1 read green data (g9?2) 1 0 1 read green data (g1?0) 1 0 1 read blue data (b9?2) 1 0 1 read blue data (b1?0) 1 0 1 read red data (r9?2) . . databus d7 d1 d2 d3 d4 d5 d6 d0 databus databus xd1 x x x x xd0
ADV7160/adv7162 rev. 0 C25C register accesses the mpu can write to or read from all of the ADV7160/ adv7162s registers. c0 and c1 determine whether the mode register or address register is being accessed. access to these registers is direct. the control registers are accessed indi- rectly. the address register must point to the desired control register. figure 33 and figures 35 to 38 illustrate the structure and protocol for device communication over the mpu port. databus r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 write operation palette databus r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 read operation palette r/ w c1 c0 palette write 0 0 0 write to address register (lo-byte) 0 0 0 write to address register (hi-byte) 0 0 1 write red data (r9?0) 0 0 1 write green data (g9?0) 0 0 1 write blue data (b9?0) 0 0 1 write red data (r9?0) . . r/ w c1 c0 palette read 0 0 0 write to address register (lo-byte) 0 0 0 write to address register (hi-byte) 1 0 1 read red data (r9?0) 1 0 1 read green data (g9?0) 1 0 1 read blue data (b9?0) 1 0 1 read red data (r9?0) . . d2 d3 d4 d5 d6 d7 d0 d1 00 d2 d3 d4 d5 d6 d7 d0 d1 figure 36. 8-bit databus using 8-bit dacs databus r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 write operation palette r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 read operation palette d9 d3 d4 d5 d6 d7 d8 d0 d1 d2 databus d9 d3 d4 d5 d6 d7 d8 d0 d1 d2 r/ w c1 c0 palette write 0 0 0 write to address register (lo-byte) 0 0 0 write to address register (hi-byte) 0 0 1 write red data (r9?0) 0 0 1 write green data (g9?0) 0 0 1 write blue data (b9?0) 0 0 1 write red data (r9?0) . . r/ w c1 c0 palette read 0 0 0 write to address register (lo-byte) 0 0 0 write to address register (hi-byte) 1 0 1 read red data (r9?0) 1 0 1 read green data (g9?0) 1 0 1 read blue data (b9?0) 1 0 1 read red data (r9?0) . . figure 37. 10-bit databus using 10-bit dacs r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 write operation palette databus r/ w c1 c0 palette write 0 0 0 write to address register (lo-byte) 0 0 0 write to address register (hi-byte) 0 0 1 write red data (r9?0) 0 0 1 write green data (g9?0) 0 0 1 write blue data (b9?0) 0 0 1 write red data (r9?0) . . r9 r3 r4 r5 r6 r7 r8 r0 r1 r2 read operation palette r/ w c1 c0 palette read 0 0 0 write to address registe (lo-byte) 0 0 0 write to address register (hi-byte) 1 0 1 read red data (r9?0) 1 0 1 read green data (g9?0) 1 0 1 read blue data (b9?0) 1 0 1 read red data (r9?0) . . d9 d3 d4 d5 d6 d7 d8 d0 d1 d2 0 0 0 0 databus d9 d3 d4 d5 d6 d7 d8 d0 d1 d2 figure 38. 10-bit databus using 8-bit dacs
rev. 0 C26C ADV7160/adv7162 register programming the following section describes each register, including address register, mode register and each of the control registers in terms of its configuration. address register (a10Ca0) as illustrated in the previous tables, the c1 and c0 control in- puts, in conjunction with this address register specify which control register, or color palette location is accessed by the mpu port. the address register is 11 bits wide and can be read from as well as written to. to access the address register, two consecutive mpu accesses with c1 and c0 set to logic 0 are required. the first one accesses the low byte; and when a second access of the same type is performed, i.e., two consecu- tive reads or two consecutive writes, the high byte is accessed. if the type of access is changed, or if an access to a different reg- ister is inserted between the first and the second, then the sec- ond access will access the low byte again. when writing to or reading from the color palette on a sequential basis, only the start address needs to be written. after a red, green and blue write sequence, the address register is automatically incremented. mode register (mr1) the mode register is a 10-bit wide register. however for pro- gramming purposes, it may be considered as an 8-bit wide regis- ter (mr19 and mr18 are both reserved). it is denoted as mr17Cmr10 for simplification purposes. figure 39 shows the various operations under the control of the mode register. this register can be read from as well written to. in read mode, if mr19 and mr18 are read back, they are both returned as zeros. mode register bit description reset control (mr10) this bit is used to reset the pixel port sampling sequence. this ensures that the pixel sequence abcd starts at a. it is reset by writing a 1 followed by a 0 followed by a 1. this bit must run this cycle during the initialization sequence. ram-dac resolution control (mr11) when this is programmed with a 1, the ram is 30 bits deep (10 bits each for red, green and blue), and each of the three dacs is configured for 10-bit resolution. when mr11 is pro- grammed with a 0, the ram is 24 bits deep (8 bits each for red, green and blue), and the dacs are configured for 8-bit resolution. the two lsbs of the 10-bit dacs are pulled down to zero in 8-bit ram-dac mode. mpu data bus width (mr12) this bit determines the width of the mpu port. it is configured as either a 10-bit wide (d9Cd0) or 8-bit wide (d7Cd0) bus. ten-bit data can be written to the device when configured 8-bit wide mode. the 8 msbs are first written on d7Cd0, then the two lsbs are written over d1Cd0. bits d9Cd8 are zeros in 8- bit mode. operational mode control (mr14Cmr13) when mr14 and mr13 are 0 the part operates in normal mode. calibrate loadin (mr15) this bit automatically calibrates the on-board loadin/ loadout synchronization circuit. a 0 to 1 transition initiates calibration. this bit is set to 0 in normal operation. see pipeline delay & calibration section. this bit must run this cycle during the initialization sequence. palette select match bits control (mr17Cmr16) these bits allow multiple palette devices to work together. when bits ps1 and ps0 match mr17 and mr16 respectively, the device is selected. if these bits do not match, the device is not selected and the analog video outputs drive 0 ma. see palette priority select inputs section. control registers a large bank of registers plus the 64 64 cursor image can be accessed through the control register. access is made first by writing the address register with the appropriate address to point to the particular control register (see figure 34), and figure 39. mode register 1 (mr1) (mr19Cmr10) reserved* mr19 mr18 mr17 mr16 mr12 mr15 pcr4 mr13 mr11 mr10 * these bits are read-only reserved bits. a read cycle will return zeros "00." palette select match bits control mr16 ps0 mr17 ps1 mpu data bus width mr12 0 8-bit (d7?0) 1 10-bit (d9?0) operational mode control 0 0 0 1 1 0 1 1 mr14 mr13 normal operation reserved reserved reserved mr14 calibrate loadin mr15 ram-dac resolution control mr11 0 8-bit 1 10-bit reset control mr10
ADV7160/adv7162 rev. 0 C27C then performing an mpu access to the control register. when accessing control registers in the range 200h to 204h, and when accessing the cursor image, the address register auto- increments after each register access. on accessing the last cur- sor image location at address 7ffh, the address register reverts to address 000h. the address register also auto-increments after a blue access, when accessing color registers in the address range 303h to 304h. id register (address reg (a10Ca0) = 003h) this is an 8-bit wide identification read-only register. for the ADV7160 it will always return the hexadecimal value 76h. for the adv7162 it will always return the hexadecimal value 79h. pixel mask register (address reg (a10Ca0) = 004h) the contents of the pixel mask register are individually bit-wise logically anded with the red, green and blue pixel input stream of data. it is an 8-bit read/write register with d0 corre- sponding to r0, g0 and b0. for normal operation, this register is set with ffh. command register 1 (cr1) (address reg (a10Ca0) = 005h) this register contains a number of control bits as shown in the diagram. cr1 is a 10-bit wide register. however for program- ming purposes, it may be considered as an 8-bit wide register (cr19 to cr18 reserved). figure 40 shows the various operations under the control of cr1. this register can be read from as well written to. in write mode zero should be written to cr12. in read mode, cr19 and cr18 are returned as zeros. command register 1-bit description calibration control (cr10) this bit automatically calibrates the on-board loadin/ loadout synchronization circuit on every vertical sync. mr15 of mode register mr1 must be set to 0. figure 40. command register 1 (cr1) (cr19Ccr10) hi-byte control (cr13) this bit enables access to the hi byte of the address register. when cr13 is set to logic 0, the part is compatible to the adv7150. to access the hi-byte of the address register, this bit is set to logic 1. ps function control (cr15Ccr14) these bits control the functions of the ps inputs. they are used to enable the overlay mode, bypass mode or the palette select mode. in palette select mode (cr15 and cr14 = 0), these inputs are used to multiplex the rgb outputs of a number of devices. on a pixel by pixel basis, ps1 and ps0 are com- pared against the ps match bits, mr17 and mr16. if they match, then the part behaves normally. if they dont match, then the analog output currents are switched to zero for that clock cycle, thus allowing another device, whose ps match bits match during this time, to drive the monitor. in bypass mode (cr15 = 0, cr14 = 1), ps1 is used to switch between one of the color modes through the color palette and one of the pal- ette bypass modes, on a pixel by pixel basis. the color mode through the palette is selected using cr17 and cr16. it is il- legal to program cr27 to cr24 to select one of the bypass modes when using the ps bits to select a bypass mode at the pixel rate. this switching on a pixel by pixel basis is only allowed when using an ADV7160 device. therefore, for the adv7162, this mode (cr15 = 0, cr14 = 1), is reserved and should not be used. in overlay mode (cr15 = 1, cr14 = 0), the ps inputs provide control for a three color overlay. whenever a value other than 00 is placed on the overlay inputs, the correspond- ing overlay color is displayed. when the overlay inputs contain 00, the color is specified by the pixel inputs. when cr15 and cr14 = 1, the ps inputs are completely ignored. there is no overlay, no bypass switching and the rgb outputs are enabled. bypass color mode control (cr17Ccr16) these bits control the mode during bypass switching. there are three different modes: 24-bit bypass, 16-bit bypass or 15-bit bypass mode. reserved* cr19 cr18 cr17 cr16 cr12 cr15 cr14 cr13 cr11 cr10 * these bits are read-only reserved bits. a read cycle will return zeros "00." test mode control cr11 1 enable test mode 0 disable ps function control 0 0 0 1 1 0 1 1 cr15 cr14 palette selects bypass mode** overlays ignore ps inputs **this mode is only available on the ADV7160. it is reserved on the adv7162. address register hi-byte control cr13 0 no access to hi-byte (adv7150 compatible) cr12 (0) bypass color mode 0 0 0 1 1 0 1 1 cr17 cr16 15-bit bypass 16-bit bypass 24-bit bypass reserved this bit should be set to zero calibration control cr10 1 calibrates on every vertical sync (mr15=0) 0 disable 1 access to hi-byte
rev. 0 C28C ADV7160/adv7162 command register 3 (cr3) (address reg (a10Ca0) = 007h) this register contains a number of control bits as shown in the diagram. cr3 is a 10-bit wide register. however for program- ming purposes, it may be considered as an 8-bit wide register (cr39 and cr38 are both reserved). figure 42 shows the various operations under the control of cr3. this register can be read from as well written to. in write mode zero should be written to cr35. in read mode, cr39 and cr38 are returned as zeros. command register 3 bit description prgckout frequency control (cr31Ccr30) these bits specify the output frequency of the prgckout output. prgckout is a divided down version of the pixel clock. blank pipeline delay control (cr34Ccr32) these bits specify the additional pipeline delay that can be added to the blank function, relative to the overall device pipeline delay (t pd ). as the blank control normally enters the video dac from a shorter pipeline than the video pixel data, this control is useful in de-skewing the pipeline differential. pixel multiplex control (cr37Ccr36) these bits specify the devices multiplex mode. it therefore also determines the frequency of the loadout signal. loadout is a divided down version of the pixel clock. command register 2 (cr2) (address reg (a10Ca0) = 006h) this register contains a number of control bits as shown in the diagram. cr2 is a 10-bit wide register. however for program- ming purposes, it may be considered as an 8-bit wide register (cr29 and cr28 are both reserved). figure 41 shows the various operations under the control of cr2. this register can be read from as well written to. in write mode zero should be written to cr21 and cr20. in read mode, cr29 and cr28 are returned as zeros. command register 2-bit description sync recognition control on green (cr22) this bit specifies whether the video sync input is to be en- coded onto the iog analog output or ignored. pedestal enable control (cr23) this bit specifies whether a 0 ire or a 7.5 ire blanking pedes- tal is to be generated on the video outputs. true-color/bypass/pseudo-color mode control (cr27Ccr24) these 4 bits specify the various color modes. these include a 24-bit true-color and bypass mode, one 16-bit true-color and bypass mode, two 15-bit true-color modes, one 15-bit bypass mode and three 8-bit pseudo color modes. figure 41. command register 2 (cr2) (cr29Ccr20) reserved* cr29 cr28 cr27 cr26 cr20 cr25 cr24 cr21 * these bits are read-only reserved bits. a read cycle will return zeros "00." cr21?r20 (00) zero should be written to these bits sync recognition control (green) cr22 0 ignore 1 decode pedestal enable control cr23 0 0 ire 1 7.5 ire cr27 cr26 cr25 cr24 0 0 0 0 8-bit pseudo color on r7?0 0 1 0 0 8-bit pseudo color on g7?0 1 0 0 0 8-bit pseudo color on b7? 1 0 0 1 16-bit bypass mode using r7?0, g7?0 1 0 1 0 15-bit bypass mode using r6?0, g7?0 1 0 1 1 16-bit true color on r7?0, g7?0 1 1 0 0 15-bit true color on r7?3, g7?3, b7?3 1 1 0 1 15-bit true color on r6?0, g7?0 1 1 1 0 24-bit true color 1 1 1 1 24-bit bypass mode true color/pseudo color mode control color mode cr23 cr22
ADV7160/adv7162 rev. 0 C29C figure 42. command register 3 (cr3) (cr39Ccr30) command register 4 (cr4) (address reg (a10Ca0) = 008h) this register contains a number of control bits as shown in the diagram. cr4 is a 10-bit wide register. however for program- ming purposes, it may be considered as an 8-bit wide register (cr49 and cr48 are both reserved). figure 43 shows the various operations under the control of cr4. this register can be read from as well written to. in read mode, cr49 and cr48 are both returned as zeros. command register 4-bit description hdtv sync enable (cr40) this bit specifies whether the video trisync input is to be encoded, enabling the dac outputs to generate a tri-level sync. sync recognition control on red (cr41) this bit specifies whether the video sync input is to be en- coded onto the ior analog output or ignored. sync recognition control on blue (cr42) this bit specifies whether the video sync input is to be en- coded onto the iob analog output or ignored. gain control (cr44Ccr43) these bits specifies the amount of gain on the dac depending on the standard required. see dac and video outputs sec- tion for more detail. for gain settings that have no pedestal, the pedestal is automatically disabled independently of cr23. signature clock control (cr45) this bit enables or disables the clock to the signature analyzer. figure 43. command register 4 (cr4) (crf49Ccr40) hdtv sync control sync recognition control (red) sync recognition control (blue) dac gain cr44 cr43 reserved* cr49 cr48 cr47 cr46 cr45 cr42 cr41 cr40 signature clock control cr46 signature reset signature acquire cr47 * these bits are read-only reserved bits. a read cycle will return zeros "00." cr45 cr42 cr41 cr40 0 ignore 1 decode 0 ignore 1 decode 0 disable tri-sync 1 enable tri-sync 0 enable 1 disable 0 disable 1 enable 0 disable clock 1 enable clock 0 0 3996 0 1 4224 1 0 4311 1 1 5592 cr44 cr43 reserved* cr31 cr30 0 0 clock ? 4 0 1 clock ? 8 1 0 clock ? 16 1 1 clock ? 32 prgckout frequency control cr39 cr38 cr35 * these bits are read-only reserved bits. a read cycle will return zeros "00." cr37 cr36 cr34 cr33 cr32 cr37 cr36 extra blank pipeline delay control (adds to pixel pipeline delay; t pd ) 0 0 0 t pd 0 0 1 t pd + 1 x loadout 0 1 0 t pd + 2 x loadout ......... ......... 1 1 1 t pd + 7 x loadout cr34 cr33 cr32 blank pipeline delay cr35 (0) cr37 cr36 0 0 1:1 muxing: loadout = clock ? 1 0 1 2:1 muxing: loadout = clock ? 2 1 0 8:1 muxing: loadout = clock ? 8 (pseudo color only) 1 1 4:1 muxing: loadout = clock ? 4 pixel multiplex control zero should be written to this bit reserved*
rev. 0 C30C ADV7160/adv7162 signature reset control (cr46) taking cr46 low then high resets the signature analyzer. this is done to give a known starting point before acquiring a signature. signature acquire control (cr47) this bit should be set to logic 1 for normal operation. see test diagnostic section for more information. command register 5 (cr5) (address reg (a10Ca0) = 00dh) this register contains one control bit cr56. cr5 is a 10-bit wide register. however for programming purposes, it may be considered as an 8-bit wide register (cr59 and cr58 are both reserved). this register can be read from as well written to. control bit cr56 selects either external clock or internal pll operation. if the internal pll is to be used, logic 1 should be written to cr56.this should be set up immediately after power up. in write mode, zero should be written to cr57 and cr55Ccr50. in read mode, cr59 and cr58 are both returned as zeros. pll command register (pcr) (address reg (a10Ca0) = 009h) this register contains a number of control bits as shown in the diagram. pcr is a 10-bit wide register. however, for program- ming purposes, it may be considered as an 8-bit wide register (pcr9 and pcr8 are both reserved). figure 44 shows the various operations under the control of pcr. this register can be read from as well written to. in write mode zero should be written to pcr3. in read mode pcr9 and pcr8 are returned as zeros. pll control (pcr0) this bit enables or disables pll. rsel bit control (pcr1) this bit enables or disables rsel, which together with the con- tents of the pll r register affect the reference divider value of the pll. reference divider = (1 + rsel) (r+2). vsel bit control (pcr2) this bit enables or disables vsel, which together with the contents of the pll v register and the pll s value affect the feedback divider value of the pll. feedback divider = (1 + vsel ) (4(v + 2)+s). output divide control (pcr5Cpcr4) these bits control the pll output divider. this post-scaler is used in the generation of lower frequencies. pll s control (pcr7Cpcr6) these bits set up the s value in the pll transfer function. this extra value provides extra control in setting the feed- back divider value of the pll. status register (address reg (a10Ca0) = 00ah) this register is a read only 10-bit register. however sr9C sr8 are reserved bits, containing zeros and sr7Csr1 are undefined bits and should be masked in software on read back. therefore, sr0 is the only relevant bit in the status register and contains a logic 1 if one, or more of the ior, iog, and iob outputs exceed the internal voltage of the sense comparator circuit . it can be used to deter- mine the presence of a crt monitor. with some diagnos- tic code, the presence of loading on the individual rgb lines can be determined. the reference is generated by a voltage divider from the external voltage reference on the v re f pin. for the proper operation, the following levels should be applied to the comparator by the ior, iog and iob outputs: dac low voltage 250 mv dac high voltage 3 450 mv revision register (address reg (a10Ca0) = 01bh) this register is a read only register containing the revision of silicon. pll r register (address reg (a10Ca0) = 00ch) this register is a read only 10-bit register. however, r9Cr8 are reserved bits, containing zeros. bit r7 is a read only bit. this bit should be masked in software on readback as its value may be indeterminate. therefore, the pll r register may be treated as a 7-bit wide register. this register, to- gether with the rsel bit in the pll control register, con- trols the reference divider of the on-board pll. figure 44. command register (pcr) (pcr9Cpcr0) pcr9 pcr8 pcr7 pcr6 pcr2 pcr5 pcr4 pcr3 pcr1 pcr0 * these bits are read-only reserved bits. a read cycle will return zeros "00." pcr5 (0) zero should be written to this bit s value pcr7 pcr6 (s1 s0) 0 0 0 0 1 1 1 0 2 1 1 3 rsel enable pcr1 0 disable 1 enable vsel enable pcr2 0 disable 1 enable pll control pcr0 0 disable pll 1 enable pll f out pcr5 pcr4 (psel1 psel0) 0 0 vco/1 0 1 vco/2 1 0 vco/4 1 1 vco/8 reserved*
ADV7160/adv7162 rev. 0 C31C pll v register (address reg (a10Ca0) = 00fh) this register is a read only 10-bit register. however v9Cv8 are reserved bits, containing zeros. bit v7 is a read only bit. this bit should be masked in software on readback as its value may be indeterminate. therefore, the pll v register may be treated as a 7-bit wide register. this register, together with the vsel bit in the pll control register, controls the feedback divider of the on-board pll. 64 64 cursor the ADV7160/adv7162 has a 64 64 cursor generator on board. several of the control registers control the cursor. these will be described in detail. the cursor-x and cursor-y registers specify the position the cursor is to be placed on the screen. the origin (0, 0) of the cursor is top left. the position of the cursor is taken relative to this point, allowing the cursor- x and cursor-y registers to be programmed with negative num- bers and thus allow the cursor to be partially or completely off the screen. the cursor can work as an x-11 or xga cursor, controlled by bits ccr0 and ccr1 of the cursor control register. the screen x and y coordinates are measured from the rising edge of blank . the first pixel after the rising edge of blank corresponds to the origin (0, 0). the vertical retrace time is ex- tracted from the composite sync and blank inputs. the start of vertical retrace is recognized by counting a second ris- ing edge on sync while blank remains low. the next rising edge on blank is the start of line 0. cursor x-lo and cursor x-hi register (address reg (a10Ca0) = 200h and 201h) these 8-bit registers together form a 16-bit 2s complement rep- resentation of the cursor x-coordinate on the screen. the valid range for the cursor x-coordinate is fffh. the negative number representation allows for part or all of the cursor to be displayed off the left-hand edge of the screen cursor y-lo and cursor y-hi register (address reg (a10Ca0) = 202h and 203h) these 8-bit registers together form a 16-bit 2s complement rep- resentation of the cursor x-coordinate on the screen. the valid range for the cursor x-coordinate is fffh. the negative number representation allows for part or all of the cursor to be displayed off the top/left of the screen. when accessing the cursor x and y registers, the address regis- ter auto-increments after each access. there are no restrictions on updating the cursor coordinate registers other than they must all be written in the order x-low, x-hi, y-low, y-hi to update the coordinates. only one cursor is displayed per frame, at the last x and y coordinates written. access to these registers is independent of the databus being configured for 8- or 10-bit operation. cursor color 1 and cursor color 2 register (address reg (a10Ca0) = 304h and 303h) each of these color registers are 30 bits wide, made up of 10 bits for red, 10 bits for green and 10 bits for blue. access to these registers behaves in the same way as access to the color palette with respect to the different combinations of 10/8-bit databus and 10/8-bit dac resolution. cursor image (address reg (a10Ca0) = 400hC7ffh) this region contains the 64 64 2-bit cursor image. eight bits are stored at each address. with two bits per cursor pixel, four horizontally adjacent pixels are stored at each address. as each address location in the cursor image is filled, the progres- sion is from left to right until a line is filled and top to bottom until all the lines are filled. the cursor can be displayed on both an interlaced and noninterlaced system, as controlled by ccr3 of the cursor control register. on an interlaced system, only one cursor can be displayed per field. the odd/ even input indicates which field of the frame is being displayed. cursor y coordinate even the even field starts with line 0 of the cursor image on line y of the frame. subsequent even lines of the cursor image are dis- played on subsequent lines of the even field. on the even field, the frame line counter starts at 0 and increments by 2 at the end of every even field line. the odd field starts with line 1 of the cursor image on line y + 1 of the frame. subsequent odd lines of the cursor image are displayed on subsequent lines of the odd field. on the odd field, the frame line counter starts at 1 and increments by 2 at the end of every odd field line. cursor y coordinate odd the even field starts with line 1 of the cursor image on line y + 1 of the frame. subsequent even lines of the cursor image are displayed on subsequent lines of the even field. on the even field, the frame line counter starts at 1 and increments by 2 at the end of every even field line. the odd field starts with line 0 of the cursor image on line y of the frame. subsequent odd lines of the cursor image are displayed on subsequent lines of the odd field. on the odd field, the frame line counter starts at 0 and increments by 2 at the end of every odd field line. cursor control register (address reg (a10Ca0) = 204h) this register contains a number of control bits. ccr is a 10-bit wide register. however for programming purposes, it may be considered as an 8-bit wide register (ccr8 and ccr9 are both reserved). in write mode zero should be written to ccr4 to ccr7. in read mode, ccr8 and ccr9 are all returned as zeros. figure 45 shows the various operations under the control of ccr. cursor control register bit description cursor mode control (ccr1Cccr0) these bits specify which type of cursor is being used. each cur- sor pixel value controls the color differently in each mode. table ii. bit 1 bit 0 x-11 cursor xga cursor 0 0 transparent color 1 0 1 transparent color 2 1 0 color 1 transparent 1 1 color 2 bit-wise complement cursor enable control (ccr2) this bit turns the cursor on and off. interlace control (ccr3) this bit determines whether the cursor is being used in inter- laced or noninterlaced mode.
rev. 0 C32C ADV7160/adv7162 figure 45. cursor control register (ccr) (ccr9Cccr0) ior, iog, iob z o = 75 w (cable) z s = 75 w (source termination) z l = 75 w (monitor) dacs figure 46. dac output termination (doubly terminated 75 w load) figure 47. composite video waveform sync decoded; pedestal = 7.5 ire; dac gain = 3996 digital-to-analog converter (dacs) and video outputs the ADV7160/adv7162 contains three high speed video dacs. the dac outputs are represented as the three primary analog color signals ior (red video), iog (green video) and iob (blue video). dacs and analog outputs the part contains three matched 10-bit digital-to-analog con- verters. the dacs are designed using an advanced, high speed, segmented architecture. the bit currents corresponding to each digital input are routed to either ior, iog, iob (bit = 1) or gnd. the analog video outputs are high impedance current sources. each of the these three rgb current outputs are specified to di- rectly drive a 37.5 w load (doubly terminated 75 w ). reference input and r set an external 1.23 v voltage reference is required to set up the analog outputs of the ADV7160/adv7162. the reference volt- age is connected to the v ref input. a resistor r set is connected between the r set input of the part and ground. for specified performance, r set has a value of 280 w . this corresponds to the generation of rs-343a video levels (with sync on iog and pedestal = 7.5 ire) into a dou- bly terminated 75 w load. in this example dac gain has a value of 3996 and is set using cr43 and cr44 of command register 4. figure 47 illustrates the resulting video waveform and the video output truth table illustrates the corresponding control input stimuli. on the ADV7160/adv7162 sync can be encoded on any of the analog signals, however in practice, sync is generally encoded on either the iog output or on all of the video outputs. ccr9 ccr8 ccr7 ccr6 ccr2 ccr3 ccr0 ccr5 ccr4 ccr1 * these bits are read-only reserved bits. a read cycle will return zeros "00." ccr7?cr4 (0000) zero should be written to these bits cursor enable ccr2 0 disable 1 enable cursor control ccr3 0 noninterlaced 1 interlaced ccr1 ccr0 cursor mode control 0 0 reserved 0 1 x11 cursor 1 0 xga cursor 1 1 reserved reserved* 92.5 ire 7.5 ire 40 ire 0.340 9.05 0.054 1.44 0.286 7.62 0 0 1.000 26.67 0.714 19.05 0 0 ma v ma v output without sync encoded output with sync encoded white level black level blank level sync level grey scale
ADV7160/adv7162 rev. 0 C33C table iii. video output truth table o/p with sync o/p with sync sync blank dac description enabled (ma) disabled (ma) input data white level 26.67 19.05 1 1 3ffh video video + 9.05 video + 1.44 1 1 data video to blank video + 1.44 video + 1.44 0 1 data black level 9.05 1.44 1 1 000h black to blank 1.44 1.44 0 1 000h blank level 7.62 0 1 0 xxxh sync level 0 0 0 0 xxxh variations on rs-343a various other video output configurations can be implemented by the ADV7160/adv7162, including rs-170. the table shows calculated values of dac gain for some of the most common variants on the rs-343a standard. the associated waveforms are shown in the diagrams. gain video signal 4224 rs343a, sync decoded on output; pedestal = 0 ire 4311 rs343a, no sync decoded; pedestal = 0 ire 5592 rs170, sync decoded; pedestal = 7.5 ire 100 ire 43 ire 0.302 8.05 0 0 1.000 26.67 0.698 18.62 0 0 ma v ma v output without sync encoded output with sync encoded white level blank/ black level sync level grey scale figure 48. comp osite video waveform sync decoded; pedestal = 0 ire; dac gain = 4224 92.5 ire 40 ire 0.400 10.67 0 0 1.400 37.33 1.00 26.67 0 0 ma v ma v output without sync encoded output with sync encoded white level blank level sync level 7.5 ire black level trisync level 0.475 12.67 0.075 2.00 0.800 21.24 grey scale figure 49. composite video waveform sync and trisync decoded; pedestal = 7.5 ire; dac gain = 5592 grey scale 100 ire 0 0 0.714 19.05 ma v output without sync encoded white level blank/black level figure 50. composite video waveform pedestal = 0 ire; dac gain = 4311 output currents the various output currents are set by v ref , r set and the dac gain. by programming the command register bits and choos- ing the correct dac gain value, video waveforms conforming to the common variations on rs-170 and rs-343a, as well as hdtv standards may be generated. the currents generated can be summarized as: i out = i dac + i blank + i sync + i trisync i dac ( ma ) = dac gain v ref r set i blank ( ma ) = 0.0817 i dac i sync ( ma ) = 0.4322 i dac i trisync ( ma ) = 0.4322 i dac
rev. 0 C34C ADV7160/adv7162 appendix 1 board design and layout considerations the ADV7160/adv7162 is a highly integrated circuit contain- ing both precision analog and high speed digital circuitry. it has been designed to minimize interference effects on the integrity of the analog circuitry by the high speed digital circuitry. it is imperative that these same design and layout techniques be ap- plied to the system level design such that high speed, accurate performance is achieved. the recommended analog circuit layout shows the analog interface between the device and monitor. the layout should be optimized for lowest noise on the ADV7160/adv7162 power and ground lines by shielding the digital inputs and providing good decoupling. the lead length between groups of v aa and gnd pins should by minimized so as to minimize inductive ringing. ground planes the ground plane should encompass all ADV7160/adv7162 ground pins, voltage reference circuitry, power supply bypass circuitry for the ADV7160/adv7162, the analog output traces, and all the digital signal traces leading up to the ADV7160/ adv7162. the ground plane is the graphics board's common ground plane. power planes the ADV7160/adv7162 and any associated analog circuitry should have its own power plane, referred to as the analog power plane (v aa ). this power plane should be connected to the regular pcb power plane (v cc ) at a single point through a ferrite bead. this bead should be located within three inches of the ADV7160/adv7162. the pcb power plane should provide power to all digital logic on the pc board, and the analog power plane should provide power to all ADV7160/adv7162 power pins and voltage refer- ence circuitry. plane-to-plane noise coupling can be reduced by ensuring that portions of the regular pcb power and ground planes do not overlay portions of the analog power plane, unless they can be arranged such that the plane-to-plane noise is common mode. supply decoupling for optimum performance, bypass capacitors should be in- stalled using the shortest leads possible, consistent with reliable operation, to reduce the lead inductance. best performance is obtained with 0.1 m f ceramic capacitor decoupling. each group of v aa pins on the ADV7160/adv7162 must have at least one 0.1 m f decoupling capacitor to gnd. these capacitors should be placed as close as possible to the device. it is important to note that while the ADV7160/adv7162 con- tains circuitry to reject power supply noise, this rejection de- creases with frequency. if a high frequency switching power supply is used, the designer should pay close attention to reduc- ing power supply noise and consider using a three terminal volt- age regulator for supplying power to the analog power plane. digital signal interconnect the digital inputs to the ADV7160/adv7162 should be iso- lated as much as possible from the analog outputs and other analog circuitry. also, these input signals should not overlay the analog power plane. due to the high clock rates involved, long clock lines to the ADV7160/adv7162 should be avoided to reduce noise pickup. any active termination resistors for the digital inputs should be connected to the regular pcb power plane (v cc ), and not the analog power plane. analog signal interconnect the ADV7160/adv7162 should be located as close as possible to the output connectors to minimize noise pickup and reflec- tions due to impedance mismatch. the video output signals should overlay the ground plane, and not the analog power plane, to maximize the high frequency power supply rejection. digital inputs, especially pixel data inputs and clocking signals (clock, loadout, loadin, etc.) should never overlay any of the analog signal circuitry and should be kept as far away as possible. for best performance, the analog outputs (ior, iog, iob) should each have a 75 w load resistor connected to gnd. these resistors should be placed as close as possible to the ADV7160/adv7162 so as to minimize reflections.
ADV7160/adv7162 rev. 0 C35C recommended analog circuit layout ADV7160 v ref r set ior iog iob comp v aa gnd r set 280 w ad589 (1.2v ref) 0.1? 1k w (1% metal) +5v (v aa ) 75 w 75 w 75 w +5v (v aa ) 0.1? 0.1? 0.01? 0.1? 0.01? 0.1? 0.01? 0.1? 0.01? 33? 0.1? 75 w 75 w 75 w monitor (crt) bnc connectors l1 (ferrite bead) +5v (v aa ) +5v (v cc ) analog power plane power supply decoupling (0.1? capacitor for each v aa group) notes: 1. all resisters are 1% metal film 2. 0.1? and 0.01? capacitors are ceramic 3. additional digital circuitry omitted for clarity coaxial cable (75 w )
rev. 0 C36C ADV7160/adv7162 appendix 2 typical frame buffer interface ADV7160/ adv7162 loadout divide by m ( ? m) loadin blank sckout sckin latch enable multiplexer 24 24 24 24 24 vram (bank d) 50 mhz vram (bank a) 50 mhz vram (bank b) 50 mhz vram (bank c) 50 mhz to palette/ram & dac 24 24 24 24 graphics processor/ controller clock blank frame buffer/ video memory sync / trisync sync / trisync clock clock ecl to ttl prgckout s e l e c t pll ref divide by n ( ? n) pll
ADV7160/adv7162 rev. 0 C37C gamma correction 8 bits vs. 10 bits gamma corrected quantized to quantized to 8-bit data (2.7) 8 bits 10 bits 240 0.977797 250 1001 241 0.979304 250 1002 242 0.980807 251 1004 243 0.982306 251 1005 244 0.983801 251 1007 245 0.985292 252 1008 246 0.986780 252 1010 247 0.988264 252 1011 248 0.989744 253 1013 249 0.991220 253 1015 250 0.992693 254 1016 251 0.994161 254 1018 252 0.995626 254 1019 253 0.997088 255 1021 254 0.998546 255 1022 255 1.000000 255 1023 input code ?decimal dac output ?normalised to 1) 1.00 0.20 0 256 32 64 96 128 160 192 224 0.90 0.60 0.50 0.40 0.30 0.80 0.70 gamma correction curve crt response linear response recieved by the eye 0.00 0.10 gamma correction curve (gamma value = 2.7) appendix 3 10-bit dacs and gamma correction 10-bit dacs 10-bit ram-dac resolution allows for nonlinear video correc- tion, in particular gamma correction. the adv716 0/adv7162 allows for an increase in color resolution from 24-bit to 30-bit effective color without the necessity of a 30-bit deep frame buffer. in true-color mode, for example, the part effectively op- erates as a 24-bit to 30-bit color look-up table. up to now we have assumed that there exists a linear relation- ship between the actual rgb values input to a monitor and the intensity produced on the screen. this, however, is not the case. half scale digital input (1000 0000) might correspond to only 20% output intensity on the crt (cathode ray tube). the intensity (i crt ) produced on a crt by an input value i in is given by: i crt = ( i in ) c where c ranges from 2.0 to 2.8. if the individual values of c for red, green and blue are known, then so called gamma correction can be applied to each of the three video input signals (i in ); therefore: i in ( corrected ) = k ( i in ) 1 / c traditionally, there has been a trade-off between implementing a nonlinear graphics function, such as gamma correction, and color dynamic range. the ADV7160/adv7162 overcomes this by increasing the individual color resolution of each of the red, green and blue primary colors from 8 bits per color channel to 10 bits per channel (24 bits to 30 bits). the table highlights the loss of resolution when 8-bit data is gamma-corrected to a value of 2.7 and quantized in a traditional 8-bit system. note that there is no change in the 8-bit quan- tized data for linear changes in the input data over much of the transfer function. on the other hand, when quantized to 10 bits via the 10-bit rams and 10-bit dacs of the ADV7160/ adv7162, all changes on the input 8-bit data are reflected in corresponding changes in the 10-bit data. the graph shows a typical gamma curve corresponding to a gamma value of 2.7. this is programmed to the red, green and blue rams of the color look-up table instead of the more tradi- tional linear function. different curves corresponding to any particular gamma value can be independently programmed to each of the red, green and blue rams. other applications of the 10-bit ram-dac include closed-loop monitor color calibration.
rev. 0 C38C ADV7160/adv7162 appendix 4 initialization and programming ADV7160/adv7162 initialization after power has been supplied, the ADV7160/adv7162 must be initialized. the mode register and control registers must then be set up. the values written to the various registers will be determined by the desired operating mode of the part, i.e., true-color/ pseudo-color, 4:1 muxing/2:1 muxing, pll on/off, bypass mode on/off etc. . . . the following section gives a recommended initialization of the ADV7160/adv7162 and an example of the adv7162 operating in a specific mode. ADV7160/adv7162 initialization c1 c0 r/ w comment write (xx000xx1)* to mode register (mr1) 1 1 0 resets ADV7160/62 write (xx000xx0)* to mode register (mr1) 1 1 0 write (xx000xx1)* to mode register (mr1) 1 1 0 write 05h to address register (a7Ca0) 0 0 0 address reg points to command register 1 (cr1) write (xxxx100x)* to command register 1 (cr1) 0 0 0 address reg points to cr1 for high byte access write 06h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 2 (cr2) write (xxxxxx00)* to command reg 2 (cr2) 1 0 0 setup cr2 as required write 07h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 3 (cr3) write (xx0xxxxx)* to command reg 3 (cr3) 1 0 0 setup cr3 as required write 08h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 4 (cr4) write (xxxxxxxx)* to command reg 4 (cr4) 1 0 0 setup cr4 as required write 0dh to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 5 (cr5) write (0x000000)* to command reg 5 (cr5) 1 0 0 setup cr 5 as required write 04h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to pixel mask register write (xxxxxxxx)* to pixel mask register 1 0 0 set up pixel mask as required write 04h to address register (a7Ca0) 0 0 0 necessary only if ccr to be used write 02h to address register (a10Ca8) 0 0 0 address reg points to cursor control register (ccr) write (xxxxxxxx)* to cursor control register 1 0 0 set up ccr as required write 0fh to address register (a7Ca0) 0 0 0 necessary only if pll to be used write 00h to address register (a10Ca8) 0 0 0 address reg points to pll v register write (xxxxxxxx)* to pll v register 1 0 0 set up v as required write 0ch to address register (a7Ca0) 0 0 0 necessary only if pll to be used write 00h to address register (a10Ca8) 0 0 0 address reg points to pll r register write (xxxx0xxx)* to pll r register 1 0 0 set up r as required write 09h to address register (a7Ca0) 0 0 0 necessary only if pll to be used write 00h to address register (a10Ca8) 0 0 0 address reg points to pll command register (pcr) write (xxxxxxxx)* to pllcommand register 1 0 0 set up pcr as required write (xx0xxxxx)* to mode register (mr1) 1 1 0 necessary only if manual claibration is required write (xx1xxxxx)* to mode register (mr1) 1 1 0 toggles mr15 write (xx0xxxxx)* to mode register (mr1) 1 1 0 *x represents either a 0 or 1 value that the bit should be set to, depending on the desired operating mode of the ADV7160/adv7162.
ADV7160/adv7162 rev. 0 C39C example color mode: 24-bit gamma corrected true color (30-bits) through color palette multiplexing: 2:1, databus: 10-bit, ram-dac resolution: 10-bit, sync: on green, pedestal: 0 ire, calibration: every vertical sync, internal pll: 220 mhz (reference = 15 mhz) register initialization c1 c0 r/ w comment write 07h to mode register (mr1) 1 1 0 resets adv7162* write 06h to mode register (mr1) 1 1 0 10-bit data bus, 10-bit dac resolution write 07h to mode register (mr1) 1 1 0 write 05h to address register (a7Ca0) 0 0 0 address reg points to command register 1 (cr1) write 09h to command register 1 (cr1) 0 0 0 high byte access, calibrate every vertical sync write 06h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 2 (cr2) write e4h to command reg 2 (cr2) 1 0 0 24-bit true color, 0 ire, sync on green write 07h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 3 (cr3) write 40h to command reg 3 (cr3) 1 0 0 2:1 muxing, prgckout = clock ? 4 write 08h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 4 (cr4) write 00h to command reg 4 (cr4) 1 0 0 dac gain = 3996 write 0dh to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to command register 5 (cr5) write 40h to command reg 5 (cr5) 1 0 0 internal pll to be used write 04h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to pixel mask register write ffh to pixel mask register 1 0 0 set up pixel mask write 0fh to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to pll v register write 09h to pll v register 1 0 0 set up v value write 0ch to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to pll r register write 01h to pll r register 1 0 0 set up r value write 09h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 address reg points to pll command register (pcr) write 06h to pll command register 1 0 0 set up pcr as required color palette ram initialization c1 c0 r/ w comment write 00h to address register (a7Ca0) 0 0 0 write 00h to address register (a10Ca8) 0 0 0 points to color palette ram write 00h (red data) to ram location (00h) 0 1 0 (initializes palette ram write 00h (green data) to ram location (00h) 0 1 0 (to a linear ramp** write 00h (blue data) to ram location (00h) 0 1 0 ( write 01h (red data) to ram location (01h) 0 1 0 ( write 01h (green data) to ram location (01h) 0 1 0 ( write 01h (blue data) to ram location (01h) 0 1 0 ( .. . ( .. . ( write ffh (red data) to ram location (ffh) 0 1 0 ( write ffh (green data) to ram location (ffh) 0 1 0 ( write ffh (blue data) to ram location (ffh) 0 1 0 ( ram initialization complete * *these command lines reset the adv7162. the pipelines for each of the red, green & blue pixel inputs are synchronously reset to the multiplexer's a input. mode register bit mr10 is written by a 1 followed by 0 followed by 1. **this sequence of instructions would, of course, normally be coded using some form of loop instruction.
rev. 0 C40C ADV7160/adv7162 3. cr45 of command register 4 is set to logic 0 during the following vertical retrace and the acquired signature is read. at least 20 clock cycles should be allowed for the final pixels of the frame to travel down the pipeline of the ADV7160/ adv7162 before the signature clock is disabled. the signature analyzer is read from control registers 010h to 013h. these are read only 10-bit registers. the access to these registers depends whether the part is in 8-bit or 10-bit data bus mode and operates in the same way as accessing the color palette. address register control (a10Ca0) registers contents 0013h signature misc register 0 0 0 0 0 0 0 s32 s31 s0 0012h signature blue register s10 s9 s8 s7 s6 s5 s4 s3 s2 s1 0011h signature green register s20 s19 s18 s17 s16 s15 s14 s13 s12 s11 0010h signature red register s30 s29 s28 s27 s26 s25 s24 s23 s22 s21 appendix 5 signature analyzer signature register the ADV7160/adv7162 co ntains onboard circuitry that enables both device and system level test diagnostics. the ADV7160/ adv7162 has a signature analyzer in the pixel datapath, just before the dac decoders. the signature analyzer consists of a 33-bit linear feedback shift register. the 30-bit pixel value is fed as a parallel input into the analyzer. the signature analyzer only accumulates a signature during active display time when blank is high. bit cr45 to cr47 of command register 4 control the signature analyzer. when cr45 of command reg- ister 4 is set to logic 1, the clock to the signature analyzer is enabled. toggling cr46 low and then high resets the signature analyzer. this is done to give a known starting point before ac- quiring a signature. cr47 of command register 4 controls the feedback inputs to the analyzer. when cr47 of command register 4 is a logic 0, the feedback is disabled and on each clock cycle, the 30-bit pixel value is latched directly into the analyzer. to acquire a signature as the analyzer is clocked, cr47 of command register 4 is set to logic 1. to acquire a signature the following procedure must be followed: 1. cr45 and cr47 of command register 4 are set to logic 1 during vertical retrace and cr46 of command register 4 is toggled to reset the analyzer. 2. a signature is acquired during the following active screen. cr42 s19 s32 s0 cr42 b0 s1 s19 b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 g0 g1 g2 g3 g4 g5 g6 g7 g8 g9 r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 '0' '0' s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 s32 signature register i/p signature cell
ADV7160/adv7162 rev. 0 C41C jtag test port jtag test port is a 4-pin interface consisting of: tck: test clock tms: test mode select tdi: test data input tdo: test data output to put the ADV7160/adv7162 into the required mode, the in- struction register must be loaded. instruction extest sample/preload idcode private 1 bypass bypass bypass bypass instruction register code 000 001 010 011 100 101 110 111 the ADV7160 implementation has the mandatory instructions: bypass, sample/preload and extest, and the optional instruc- tion: idcode. there is also one private instruction: private1. the private1 instruction is for internal use in production test only. the idcode is a 32-bit number which can be scanned out through tdo. its contents are defined below: version (4 bits) 1h 1h part number (16 bits) 2776h 2779h manufacturer id (11 bits) 0e5h 0e5h lsb 1h 1h ADV7160 adv7162 the boundary scan chain is a fundamental feature of the jtag test port. it allows all the digital input and output pins on the part to be connected into a shift register between the tdi and tdo pins. the digital pins can be sampled, or con- trolled over the jtag port to carry out testing. the is no boundary scan cell on the pll ref pin. the three-state control cell controls the three-state status of the microport databus. there are 131 cells in total on the boundary scan chain. appendix 6 jtag test port (ieee1149.1) ce r/ w c0 c1 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 three-state control loadin sckin sckout clock clock loadout prgckout ps0 a ps0 b ps0 c ps0 d ps1 a ps1 b ps1 c ps1 d r0 a r0 b r0 c r0 d r1 a r1 b r1 c r1 d r2 a r2 b r2 c r2 d r3 a r3 b r3 c r3 d r4 a r4 b r4 c r4 d r5 a r5 b r5 c r5 d r6 a r6 b r6 c r6 d r7 a r7 b r7 c r7 d g0 a g0 b g0 c g0 d tdi g1 a g1 b g1 c g1 d g2 a g2 b g2 c g2 d g3 a g3 b g3 c g3 d g4 a g4 b g4 c g4 d g5 a g5 b g5 c g5 d g6 a g6 b g6 c g6 d g7 a g7 b g7 c g7 d b0 a b0 b b0 c b0 d b1 a b1 b b1 c b1 d b2 a b2 b b2 c b2 d b3 a b3 b b3 c b3 d b4 a b4 b b4 c b4 d b5 a b5 b b5 c b5 d b6 a b6 b b6 c b6 d b7 a b7 b b7 c b7 d trisync odd/ even sync blank syncout tdo jtag boundary scan chain
rev. 0 C42C ADV7160/adv7162 appendix 7 thermal and environmental considerations the ADV7160/adv7162 is a very highly integrated monolithic silicon device. this high level of integration, in such a small package, inevitably leads to consideration of thermal and envi- ronmental conditions which the ADV7160/adv7162 must op- erate in. reliability of the device is enhanced by keeping it as cool as possible. in order to avoid destructive damage to the de- vice, the absolute maximum junction temperature of 150 c must never be exceeded. certain applications, depending on ambient temperature and pixel data rates may require forced air cooling or external heatsinks. the following data is intended as a guide in evaluating the operating conditions of a particular ap- plication so that optimum device and system performance is achieved. it should be noted that information on package characteristics published herein may not be the most up to date at the time of reading this. advances in package compounds and manufacture will inevitably lead to improvements in the thermal data. please contact your local sales office for the most up-to-date information. power dissipation the diagrams show graphs of power dissipation in watts versus pixel clock frequency for the ADV7160 and adv7162. when using the adv7162 in bypass mode, the pixel mask register should be programmed to 00h to reduce power further. pixel clock frequency ?mhz 2.00 0.50 60 100 140 180 220 1.50 1.25 1.00 0.75 1.75 260 2.25 power dissipation ?watts v aa = +5v v ref = +1.2v t a = +25 c ADV7160 adv7162 note: the "worst case on-screen pattern" corresponds to full-scale transition on each pixel value for every clock edge (00h, ffh, 00h, ...). the "typical on-screen pattern" corresponds to linear changes in tne pixel input (i.e., a black to white ramp). in general, color images tend to approximate this characteristic. typical power dissipation vs. pixel rate package characteristics the tables of thermal characteristics show typical information for the ADV7160 (160-lead plastic power qfp) and ad7162 (160-lead plastic qfp) using various values of airflow. junction-to-case ( q jc ) thermal resistance for this particular part is: q jc (ad7160) = 0.4 c/w q jc (ad7162) = 6.7 c/w (note: q jc is independent of airflow.) heatsinks the maximum silicon junction temperature should be limited to 100 c. temperatures greater than this will reduce long-term device reliability. to ensure that the silicon junction tempera- ture stays within prescribed limits, the addition of an external heatsink may be necessary. heatsinks will reduce q ja as shown in the thermal characteristics vs. airflow table. table a. thermal characteristics vs. airflowCADV7160* air velocity 0 50 100 200 (linear feet/min (still air) q ja c/w no heatsink 25.5 23 21 19 eg&g d10100-28 heatsink 23 20 18 16 thermalloy 2290 heatsink 19 17 15 12 *these figures do not include thermal conduction through the package leads into the pcb. thermal conduction through the leads can provide up to 10 o c/w reduction in q ja . table b. thermal characteristics vs. airflowCadv7162* air velocity 0 50 100 200 (linear feet/min) (still air) q ja c/w no heatsink 37 32 30 28 eg&g d10850-40 heatsink 28 24 22 19 eg&g d10851-36 heatsink 32 24 19 14 *these figures do not include thermal conduction through the package leads into the pcb. thermal conduction through the leads can provide up to 5 o c/w reduction in q ja . thermal model the junction temperature of the device in a specific application is given by: t j = t a + p d ( q jc + q ca ) (1) or t j = t a + p d ( q ja ) (2) where: t j = junction temperature of silicon ( c) t a = ambient temperature ( c) p d = power dissipation (w) q jc = junction to case thermal resistance ( c/w) q ca = case to ambient thermal resistance ( c/w) q ja = junction to ambient thermal resistance ( c/w) package enhancements for ADV7160 the standard pqfp package has been enhanced to a powerquad2 package. this supports an improved thermal performance compared to standard pqfp. in this case, the die is attached to a heat slug so that the power that is dissipated can be conducted to the external surface of the package. this pro- vides a highly efficient path for the transfer of heat to the pack- age surface. the pac kage configuration also provides and efficient thermal path from the ADV7160 to the printed circuit board.
ADV7160/adv7162 rev. 0 C43C page index topic page features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 & 15 ADV7160/adv7162 block diagram . . . . . . . . . . . . . . . . . 1 ADV7160/adv7162 specifications . . . . . . . . . . . . . . . . . 2 ADV7160/adv7162 timing characteristics . . . . . 3-5 timing waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11 ordering guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 absolute maximum ratings . . . . . . . . . . . . . . . . . . . 11 pin configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 pin function description . . . . . . . . . . . . . . . . . . 13-14 circuit details and operation . . . . . . . . . . . . . . . . 15 pixel port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-16 clock control circuit . . . . . . . . . . . . . . . . . . . . . 16-17 clock control signals . . . . . . . . . . . . . . . . . . . . . 17-18 pll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 color video modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 pixel port mapping . . . . . . . . . . . . . . . . . . . . . . . . . 19-21 multiplexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-22 mpu port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 internal register configuration . . . . . . . . . . . . 23 color palette access . . . . . . . . . . . . . . . . . . . . . . 24-25 on-chip registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 address register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 mode register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 pixel mask register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 command register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 command register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 command register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-29 command register 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-30 command register 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 pll command register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 pll r register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 pll v register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 revision register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 cursor description . . . . . . . . . . . . . . . . . . . . . . . . 31-32 cursor x-low and x-high register . . . . . . . . . . . . . . . . . . . 31 cursor y-low & y-high register . . . . . . . . . . . . . . . . . . . . . 31 cursor image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 cursor y coordinate even . . . . . . . . . . . . . . . . . . . . . . . . . . 31 cursor y coordinate odd . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 cursor control register . . . . . . . . . . . . . . . . . . . . . . . . . 31C32 dacs & video outputs . . . . . . . . . . . . . . . . . . . . . . . 32-33 appendix 1 board design and layout considerations . . . . . . . . . . . . 34-35 appendix 2 typical frame buffer interface . . . . . . . . . . . . . . . . . . . . . . . 36 appendix 3 10-bit dacs and gamma correction . . . . . . . . . . . . . . . . . . 37 appendix 4 initialization and programming . . . . . . . . . . . . . . . . . . . . 38-39 appendix 5 signature analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 appendix 6 jtag test port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 appendix 7 thermal and environmental considerations . . . . . . . . . . . . . 42 index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 outline dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 figure index figure title 1 load circuit for data-bus access &relinquish times 2 jtag port timing 3 loadout vs. pixel clock input 4 loadin vs. pixel input data 5 pixel input to analog output pipeline with minimum loadout to loadin delay (8:1 mode) 6 pixel input to analog output pipeline with maximum loadout to loadin delay (8:1 mode) 7 pixel input to analog output pipeline with minimum loadout to loadin delay (4:1 mode) 8 pixel input to analog output pipeline with maximum loadout to loadin delay (4:1 mode) 9 pixel input to analog output pipeline with minimum loadout to loadin delay (2:1 mode) 10 pixel input to analog output pipeline with maximum loadout to loadin delay (2:1 mode) 11 pixel clock input vs. programmable clock output 12 sckin vs. sckout 13 analog output response vs, pixel clock 14 mpu timing 15 multiplexed color inputs 16 clock control circuit 17 loadout vs. pixel clock 18 sckout generation circuit 19 interface using sckin and sckout 20 pll block diagram 21 pll transfer function 22 pll jitter 23 24-bit to 30-bit true color configuration 24 15-bit to 24-bit true color configuration 25 8-bit to 30-bit pseudo color configuration 26 16-bit tue color mapping using r7Cr0 and g7Cg0 27 15-bit true color mapping using r7Cr3, g7Cg3 and b7Cb3 28 15-bit true color mapping using r6Cr0 and g7Cg0 29 16-bit true color (bypass) using r7Cr0 and g7Cg0 30 15-bit true color (bypass) using r6Cr0 and g7Cg0 31 direct interfacing of video memory 32 8-bit pseudo color in 8:1 multiplexing mode 33 mpu port and register configuration 34 internal register configuration and address decoding 35 8-bit databus using 10-bit dacs 36 8-bit databus using 8-bit dacs 37 10-bit databus using 10-bit dacs 38 10-bit databus using 8-bit dacs 39 mode register 1 40 command register 1 41 command register 2 42 command register 3 43 command register 4 44 pll command register 45 cursor control register 46 dac output termination 47 composite video waveform, sync decoded; pedestal = 7.5 ire; dac gain = 3996 48 composite video waveform, sync decoded; pedestal = 0 ire; dac gain = 4224 49 composite video waveform, sync & trisync decoded; pedestal = 7.5 ire; dac gain = 5592 50 composite video waveform, pedestal = 0 ire; dac gain = 4311
rev. 0 C44C ADV7160/adv7162 outline dimensions dimensions shown in inches and (mm). s-160 160-lead plastic quad flatpack top view (pins down) pin 1 121 160 1 120 41 40 80 81 0.014 (0.35) 0.011 (0.27) 1.239 (31.45) 1.219 (30.95) 1.107 (28.10) 1.100 (27.90) sq sq 0.026 (0.65) min seating plane 0.160 (4.07) max 0.037 (0.95) 0.026 (0.65) 0.004 (0.10) max 0.145 (3.67) 0.125 (3.17) 0.070 (1.77) 0.062 (1.57) 0.070 (1.77) 0.062 (1.57) 10 6 4 4 4 max printed in u.s.a. c2013C6C4/95


▲Up To Search▲   

 
Price & Availability of ADV7160

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X